{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import os\n",
    "os.chdir('../')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "from config import conf\n",
    "import pandas as pd\n",
    "import os\n",
    "from os.path import join\n",
    "import re\n",
    "import numpy as np\n",
    "from data_utils.basic_data import load_basic_dataset\n",
    "FEATURE_ROOT_DIR = conf.get('linux_dir', 'feature_root_dir')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\u001b[01;34m/home/njuciairs/wangshuai/competitions/finance_features_round2/\u001b[00m\r\n",
      "├── \u001b[01;34mmulti_class_cross1\u001b[00m\r\n",
      "│   ├── feature_split 1\r\n",
      "│   ├── feature_split 2\r\n",
      "│   ├── feature_split 3\r\n",
      "│   ├── feature_split 4\r\n",
      "│   ├── feature_split 5\r\n",
      "│   ├── feature_split 6\r\n",
      "│   ├── feature_split 7\r\n",
      "│   ├── feature_split 8\r\n",
      "│   ├── feature_split 9\r\n",
      "│   ├── test_features_round2_version 1\r\n",
      "│   ├── test_features_round2_version 2\r\n",
      "│   ├── test_features_round2_version 3\r\n",
      "│   ├── test_features_round2_version 4\r\n",
      "│   ├── test_features_round2_version 5\r\n",
      "│   ├── test_features_round2_version 6\r\n",
      "│   ├── test_features_round2_version 7\r\n",
      "│   ├── test_features_round2_version 8\r\n",
      "│   └── test_features_round2_version 9\r\n",
      "├── \u001b[01;34mmulti_class_cross_roberta\u001b[00m\r\n",
      "│   ├── feature_split 1\r\n",
      "│   ├── feature_split 2\r\n",
      "│   ├── feature_split 3\r\n",
      "│   ├── feature_split 4\r\n",
      "│   ├── feature_split 5\r\n",
      "│   ├── feature_split 6\r\n",
      "│   ├── feature_split 7\r\n",
      "│   ├── feature_split 8\r\n",
      "│   ├── feature_split 9\r\n",
      "│   ├── test_features_round2_version 1\r\n",
      "│   ├── test_features_round2_version 2\r\n",
      "│   ├── test_features_round2_version 3\r\n",
      "│   ├── test_features_round2_version 4\r\n",
      "│   ├── test_features_round2_version 5\r\n",
      "│   ├── test_features_round2_version 6\r\n",
      "│   ├── test_features_round2_version 7\r\n",
      "│   ├── test_features_round2_version 8\r\n",
      "│   └── test_features_round2_version 9\r\n",
      "├── \u001b[01;34msenti_entity_goodremove\u001b[00m\r\n",
      "│   ├── feature_split 1\r\n",
      "│   ├── feature_split 2\r\n",
      "│   ├── feature_split 3\r\n",
      "│   ├── feature_split 4\r\n",
      "│   ├── feature_split 5\r\n",
      "│   ├── feature_split 6\r\n",
      "│   ├── feature_split 7\r\n",
      "│   ├── feature_split 8\r\n",
      "│   ├── feature_split 9\r\n",
      "│   ├── test_features_round2_version_goodremove 1\r\n",
      "│   ├── test_features_round2_version_goodremove 2\r\n",
      "│   ├── test_features_round2_version_goodremove 3\r\n",
      "│   ├── test_features_round2_version_goodremove 4\r\n",
      "│   ├── test_features_round2_version_goodremove 5\r\n",
      "│   ├── test_features_round2_version_goodremove 6\r\n",
      "│   ├── test_features_round2_version_goodremove 7\r\n",
      "│   ├── test_features_round2_version_goodremove 8\r\n",
      "│   └── test_features_round2_version_goodremove 9\r\n",
      "└── \u001b[01;34msenti_entity_goodremove_full\u001b[00m\r\n",
      "    ├── feature_split 1\r\n",
      "    ├── feature_split 2\r\n",
      "    ├── feature_split 3\r\n",
      "    ├── feature_split 4\r\n",
      "    ├── feature_split 5\r\n",
      "    ├── test_features_round2_version_goodremove 1\r\n",
      "    ├── test_features_round2_version_goodremove 2\r\n",
      "    ├── test_features_round2_version_goodremove 3\r\n",
      "    ├── test_features_round2_version_goodremove 4\r\n",
      "    └── test_features_round2_version_goodremove 5\r\n",
      "\r\n",
      "4 directories, 64 files\r\n"
     ]
    }
   ],
   "source": [
    "!tree $FEATURE_ROOT_DIR"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "2366\n"
     ]
    }
   ],
   "source": [
    "#查看各个文件中包含的条目数量是否一致\n",
    "model1_split_length = len(pd.read_csv(join(FEATURE_ROOT_DIR,'multi_class_cross1','feature_split 1')))\n",
    "model2_split_length = len(pd.read_csv(join(FEATURE_ROOT_DIR,'multi_class_cross_roberta','feature_split 1')))\n",
    "model3_split_length = len(pd.read_csv(join(FEATURE_ROOT_DIR,'senti_entity_goodremove_full','feature_split 1')))\n",
    "\n",
    "assert model1_split_length ==model2_split_length\n",
    "print(model1_split_length)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>negative</th>\n",
       "      <th>predict</th>\n",
       "      <th>entity_list</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>0</td>\n",
       "      <td>13002</td>\n",
       "      <td>[-6.650038719177246, 5.566683292388916]</td>\n",
       "      <td>[[-5.559689521789551, 6.068704605102539]]</td>\n",
       "      <td>['米袋计划']</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>13006</td>\n",
       "      <td>[-6.914949893951416, 5.585213661193848]</td>\n",
       "      <td>[[-4.097414970397949, 4.615048408508301], [-3....</td>\n",
       "      <td>['五星财富', '种钱网', '富轩投资', '国恒金服', '信业国际投资']</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>13009</td>\n",
       "      <td>[0.5098201632499695, -1.607528805732727]</td>\n",
       "      <td>[[-0.3136524260044098, 0.9562559723854065], [3...</td>\n",
       "      <td>['利民网', '深圳民富集团有限公司']</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>3</td>\n",
       "      <td>13011</td>\n",
       "      <td>[5.73971700668335, -5.701037406921387]</td>\n",
       "      <td>[[5.498344421386719, -6.096757411956787], [5.4...</td>\n",
       "      <td>['现金贷', '极速贷', '武汉市金山互联网小额贷款有限责任公司', '小额贷', '猎...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>4</td>\n",
       "      <td>13015</td>\n",
       "      <td>[-6.357622146606445, 4.8852434158325195]</td>\n",
       "      <td>[[-3.0589749813079834, 3.6443588733673096], [-...</td>\n",
       "      <td>['派生科技', '团贷网', '蚂蚁金服', '万和集团']</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>10289</td>\n",
       "      <td>22996</td>\n",
       "      <td>[3.142611265182495, -3.4820289611816406]</td>\n",
       "      <td>[[5.3073554039001465, -5.627646446228027], [5....</td>\n",
       "      <td>['九州证券', '九州瀚海', '金联储', '金银岛', '九鼎集团']</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>10290</td>\n",
       "      <td>22997</td>\n",
       "      <td>[5.697967052459717, -5.333749294281006]</td>\n",
       "      <td>[[4.7081217765808105, -5.531620979309082], [4....</td>\n",
       "      <td>['轻易贷', '有利网', '小牛在线', '极光金融', '宜人贷', '微贷网', '...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>10291</td>\n",
       "      <td>22998</td>\n",
       "      <td>[-7.274547100067139, 6.075652599334717]</td>\n",
       "      <td>[[-4.974645614624023, 5.658247470855713], [-5....</td>\n",
       "      <td>['上海聚胜投资管理有限公司', '聚胜财富']</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>10292</td>\n",
       "      <td>22999</td>\n",
       "      <td>[6.368219375610352, -5.762329578399658]</td>\n",
       "      <td>[[5.743528842926025, -5.8887505531311035], [5....</td>\n",
       "      <td>['京东金融', '京东白条']</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>10293</td>\n",
       "      <td>23000</td>\n",
       "      <td>[-6.706911087036133, 5.710471153259277]</td>\n",
       "      <td>[[5.312399387359619, -5.569408416748047], [-4....</td>\n",
       "      <td>['有房', '宜贷网']</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>10294 rows × 4 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "          id                                  negative  \\\n",
       "0      13002   [-6.650038719177246, 5.566683292388916]   \n",
       "1      13006   [-6.914949893951416, 5.585213661193848]   \n",
       "2      13009  [0.5098201632499695, -1.607528805732727]   \n",
       "3      13011    [5.73971700668335, -5.701037406921387]   \n",
       "4      13015  [-6.357622146606445, 4.8852434158325195]   \n",
       "...      ...                                       ...   \n",
       "10289  22996  [3.142611265182495, -3.4820289611816406]   \n",
       "10290  22997   [5.697967052459717, -5.333749294281006]   \n",
       "10291  22998   [-7.274547100067139, 6.075652599334717]   \n",
       "10292  22999   [6.368219375610352, -5.762329578399658]   \n",
       "10293  23000   [-6.706911087036133, 5.710471153259277]   \n",
       "\n",
       "                                                 predict  \\\n",
       "0              [[-5.559689521789551, 6.068704605102539]]   \n",
       "1      [[-4.097414970397949, 4.615048408508301], [-3....   \n",
       "2      [[-0.3136524260044098, 0.9562559723854065], [3...   \n",
       "3      [[5.498344421386719, -6.096757411956787], [5.4...   \n",
       "4      [[-3.0589749813079834, 3.6443588733673096], [-...   \n",
       "...                                                  ...   \n",
       "10289  [[5.3073554039001465, -5.627646446228027], [5....   \n",
       "10290  [[4.7081217765808105, -5.531620979309082], [4....   \n",
       "10291  [[-4.974645614624023, 5.658247470855713], [-5....   \n",
       "10292  [[5.743528842926025, -5.8887505531311035], [5....   \n",
       "10293  [[5.312399387359619, -5.569408416748047], [-4....   \n",
       "\n",
       "                                             entity_list  \n",
       "0                                               ['米袋计划']  \n",
       "1              ['五星财富', '种钱网', '富轩投资', '国恒金服', '信业国际投资']  \n",
       "2                                  ['利民网', '深圳民富集团有限公司']  \n",
       "3      ['现金贷', '极速贷', '武汉市金山互联网小额贷款有限责任公司', '小额贷', '猎...  \n",
       "4                        ['派生科技', '团贷网', '蚂蚁金服', '万和集团']  \n",
       "...                                                  ...  \n",
       "10289             ['九州证券', '九州瀚海', '金联储', '金银岛', '九鼎集团']  \n",
       "10290  ['轻易贷', '有利网', '小牛在线', '极光金融', '宜人贷', '微贷网', '...  \n",
       "10291                           ['上海聚胜投资管理有限公司', '聚胜财富']  \n",
       "10292                                   ['京东金融', '京东白条']  \n",
       "10293                                      ['有房', '宜贷网']  \n",
       "\n",
       "[10294 rows x 4 columns]"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "pd.read_csv(join(FEATURE_ROOT_DIR,'senti_entity_goodremove_full','test_features_round2_version_goodremove 1'))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [],
   "source": [
    "#提取multi_class_cross1新feature\n",
    "def get_feature_for_multi_class_cross1(split_id):\n",
    "    from data_utils.bert_multi_class_data import get_train_val_data_loader,load_train_val_dataset_cross,TestEntityDataset\n",
    "    val_df, train_df  = load_train_val_dataset_cross(test_number=split_id, cross_number=9)\n",
    "    test_df = val_df\n",
    "    test_dataset = TestEntityDataset(test_df, max_len=400)\n",
    "    texts = [sample.text for sample in test_dataset]\n",
    "    entity = [t.split('[SEP]')[0][5:] for t in texts]\n",
    "    feature_df = pd.read_csv(join(FEATURE_ROOT_DIR,'multi_class_cross1','feature_split %d'%split_id))\n",
    "    feature_df['key_entity'] = entity\n",
    "    feature_df['predict_features'] = feature_df['predict_features'].map(lambda x:eval(re.search(r'(\\[.*\\])',x).group()))\n",
    "    return feature_df\n",
    "\n",
    "def get_test_feature_for_multi_class_cross1(split_id):\n",
    "    from data_utils.bert_multi_class_data import TestEntityDataset\n",
    "    from data_utils.basic_data import load_basic_dataset\n",
    "    test_df = load_basic_dataset('test')\n",
    "    test_dataset = TestEntityDataset(test_df, max_len=400)\n",
    "    texts = [sample.text for sample in test_dataset]\n",
    "    entity = [t.split('[SEP]')[0][5:] for t in texts]\n",
    "    feature_df = pd.read_csv(join(FEATURE_ROOT_DIR,'multi_class_cross1','test_features_round2_version %d'%split_id))\n",
    "    feature_df['key_entity'] = entity\n",
    "    feature_df['predict_test_features'] = feature_df['predict_test_features'].map(lambda x:eval(re.search(r'(\\[.*\\])',x).group()))\n",
    "    return feature_df.sort_values(['id','key_entity']).reset_index(drop=True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "#提取BertSentiEntity_cross新feature\n",
    "def get_feature_for_BertSentiEntity_cross(split_id):\n",
    "    feature_df = pd.read_csv(join(FEATURE_ROOT_DIR,'senti_entity_goodremove_full','feature_split %d'%split_id))\n",
    "    feature_df['negative'] = feature_df['negative'].map(lambda x:eval(x))\n",
    "    feature_df['predict'] = feature_df['predict'].map(lambda x:eval(x))\n",
    "    feature_df['entity_list'] = feature_df['entity_list'].map(lambda x:eval(x))\n",
    "    return feature_df\n",
    "\n",
    "def get_test_feature_for_BertSentiEntity_cross(split_id):\n",
    "    feature_df = pd.read_csv(join(FEATURE_ROOT_DIR,'senti_entity_goodremove_full','test_features_round2_version_goodremove %d'%split_id))\n",
    "    feature_df['negative'] = feature_df['negative'].map(lambda x:eval(x))\n",
    "    feature_df['predict'] = feature_df['predict'].map(lambda x:eval(x))\n",
    "    feature_df['entity_list'] = feature_df['entity_list'].map(lambda x:eval(x))\n",
    "    return feature_df.sort_values(['id']).reset_index(drop=True)\n",
    "# df = get_test_feature_for_BertSentiEntity_cross(1)\n",
    "# df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>entity</th>\n",
       "      <th>mc_predict</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>0</td>\n",
       "      <td>13001</td>\n",
       "      <td>北京华赢凯来资产管理有限公司</td>\n",
       "      <td>[-4.195833333333334, -3.116511111111111, 6.595...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>13001</td>\n",
       "      <td>华赢凯来</td>\n",
       "      <td>[-3.8221555555555558, -3.475477777777778, 6.69...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>13002</td>\n",
       "      <td>米袋</td>\n",
       "      <td>[-3.8972333333333333, -3.413866666666666, 6.71...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>3</td>\n",
       "      <td>13002</td>\n",
       "      <td>米袋计划</td>\n",
       "      <td>[-4.139588888888889, -3.2134666666666667, 6.6718]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>4</td>\n",
       "      <td>13003</td>\n",
       "      <td>易通</td>\n",
       "      <td>[-3.730388888888889, -3.3769666666666667, 6.47...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>33584</td>\n",
       "      <td>22999</td>\n",
       "      <td>京东白条</td>\n",
       "      <td>[8.301277777777777, -3.6993444444444443, -3.69...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>33585</td>\n",
       "      <td>22999</td>\n",
       "      <td>京东金融</td>\n",
       "      <td>[8.295011111111112, -3.6586111111111115, -3.72...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>33586</td>\n",
       "      <td>23000</td>\n",
       "      <td>宜贷网</td>\n",
       "      <td>[-3.937344444444444, -3.179866666666667, 6.435...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>33587</td>\n",
       "      <td>23000</td>\n",
       "      <td>有房</td>\n",
       "      <td>[-4.004755555555556, 6.6848888888888895, -3.00...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>33588</td>\n",
       "      <td>23000</td>\n",
       "      <td>贷网</td>\n",
       "      <td>[-4.251022222222222, -2.6024222222222217, 6.13...</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>33589 rows × 3 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "          id          entity  \\\n",
       "0      13001  北京华赢凯来资产管理有限公司   \n",
       "1      13001            华赢凯来   \n",
       "2      13002              米袋   \n",
       "3      13002            米袋计划   \n",
       "4      13003              易通   \n",
       "...      ...             ...   \n",
       "33584  22999            京东白条   \n",
       "33585  22999            京东金融   \n",
       "33586  23000             宜贷网   \n",
       "33587  23000              有房   \n",
       "33588  23000              贷网   \n",
       "\n",
       "                                              mc_predict  \n",
       "0      [-4.195833333333334, -3.116511111111111, 6.595...  \n",
       "1      [-3.8221555555555558, -3.475477777777778, 6.69...  \n",
       "2      [-3.8972333333333333, -3.413866666666666, 6.71...  \n",
       "3      [-4.139588888888889, -3.2134666666666667, 6.6718]  \n",
       "4      [-3.730388888888889, -3.3769666666666667, 6.47...  \n",
       "...                                                  ...  \n",
       "33584  [8.301277777777777, -3.6993444444444443, -3.69...  \n",
       "33585  [8.295011111111112, -3.6586111111111115, -3.72...  \n",
       "33586  [-3.937344444444444, -3.179866666666667, 6.435...  \n",
       "33587  [-4.004755555555556, 6.6848888888888895, -3.00...  \n",
       "33588  [-4.251022222222222, -2.6024222222222217, 6.13...  \n",
       "\n",
       "[33589 rows x 3 columns]"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#new_feature_sample = {(id,entity):(multiclass1_predict,roberta_predict,sentientity_predict,sentientity_sentence)}\n",
    "#整合新的feature\n",
    "class NewFeatureSample:\n",
    "    def __init__(self,id,entity,mc_predict=None,se_entity=None,se_sentence=None):\n",
    "        self.id = id\n",
    "        self.entity = entity\n",
    "        self.mc_predict = mc_predict\n",
    "        self.se_entity = se_entity\n",
    "        self.se_sentence = se_sentence\n",
    "    def get_tuple(self):\n",
    "        return (self.id,self.entity,self.mc_predict,self.se_entity,self.se_sentence)\n",
    "    def __str__(self):\n",
    "        return str((self.id,self.entity,self.mc_predict,self.se_entity,self.se_sentence))\n",
    "    def __repr__(self):\n",
    "        return self.__str__()\n",
    "    \n",
    "def make_mc_features(): \n",
    "    new_feature_samples = {}\n",
    "    for i in range(1,10):\n",
    "        df_mc = get_feature_for_multi_class_cross1(i)\n",
    "        for id,predict_features,key_entity in df_mc.values:\n",
    "            key = (str(id),key_entity) \n",
    "            if key not in new_feature_samples:\n",
    "                new_feature_samples[key] = NewFeatureSample(id=id,entity=key_entity,mc_predict=predict_features)\n",
    "            else:\n",
    "                new_feature_samples[key].mc_predict = predict_features\n",
    "    \n",
    "    mc_rb_features = pd.DataFrame([sample.get_tuple() for sample in new_feature_samples.values()],columns=['id','entity','mc_predict','se_entity','se_sentence'])\n",
    "    mc_rb_features_df = mc_rb_features[['id','entity','mc_predict']]\n",
    "    return new_feature_samples,mc_rb_features_df\n",
    "def make_mc_test_features(): \n",
    "    new_feature_samples = {}\n",
    "    df_mc = get_test_feature_for_multi_class_cross1(1)\n",
    "    values =[get_test_feature_for_multi_class_cross1(i)['predict_test_features'].values.tolist() for i in range(1,10)]\n",
    "    df_mc['predict_test_features'] = np.mean(values,axis=0).tolist()\n",
    "    for id,predict_features,key_entity in df_mc.values:\n",
    "        key = (str(id),key_entity) \n",
    "        if key not in new_feature_samples:\n",
    "            new_feature_samples[key] = NewFeatureSample(id=id,entity=key_entity,mc_predict=predict_features)\n",
    "        else:\n",
    "            new_feature_samples[key].mc_predict = predict_features\n",
    "            \n",
    "\n",
    "    mc_features = pd.DataFrame([sample.get_tuple() for sample in new_feature_samples.values()],columns=['id','entity','mc_predict','se_entity','se_sentence'])\n",
    "    mc_test_features_df = mc_features[['id','entity','mc_predict']]\n",
    "    return new_feature_samples,mc_test_features_df\n",
    "_,mc_test_features_df = make_mc_test_features()\n",
    "mc_test_features_df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "scrolled": true
   },
   "outputs": [],
   "source": [
    "def make_mc_se_features():\n",
    "    new_feature_samples,_ = make_mc_features()\n",
    "    for i in range(1,6):\n",
    "        se_df = get_feature_for_BertSentiEntity_cross(i)\n",
    "        for id,negative,se_entity_logits,entity_list in se_df.values:\n",
    "            for entity in entity_list:\n",
    "                key = (str(id),entity)\n",
    "                if key not in  new_feature_samples:\n",
    "                    new_feature_samples[key] = NewFeatureSample(id,entity,se_sentence=negative)\n",
    "                else:\n",
    "                    new_feature_samples[key].se_sentence = negative\n",
    "            for entity_logit,entity in zip(se_entity_logits,entity_list):\n",
    "                key = (str(id),entity)\n",
    "                if key not in  new_feature_samples:\n",
    "                    new_feature_samples[key] = NewFeatureSample(id,entity,se_entity==entity_logit)\n",
    "                else:\n",
    "                    new_feature_samples[key].se_entity = entity_logit\n",
    "    mc_se_df = pd.DataFrame([sample.get_tuple() for sample in new_feature_samples.values()],columns=['id','entity','mc_predict','se_entity','se_sentence'])\n",
    "    return new_feature_samples,mc_se_df\n",
    "\n",
    "def make_mc_se_test_features():\n",
    "    new_feature_samples,_ = make_mc_test_features()\n",
    "    se_df = get_test_feature_for_BertSentiEntity_cross(1)\n",
    "    se_df['negative'] = np.mean(np.array([get_test_feature_for_BertSentiEntity_cross(i)['negative'].values.tolist() for i in range(1,6)]),axis=0).tolist()\n",
    "    \n",
    "    mean_rs = []\n",
    "    values = [get_test_feature_for_BertSentiEntity_cross(i)['predict'].values.tolist() for i in range(1,6) ]\n",
    "    for i in range(len(values[0])):\n",
    "        lists = [rs[i] for rs in values]\n",
    "        mean_rs.append(np.mean(lists,axis=0).tolist())\n",
    "    se_df['predict'] = mean_rs\n",
    "    \n",
    "    for id,negative,se_entity_logits,entity_list in se_df.values:\n",
    "        for entity in entity_list:\n",
    "            key = (str(id),entity)\n",
    "            if key not in  new_feature_samples:\n",
    "                new_feature_samples[key] = NewFeatureSample(id,entity,se_sentence=negative)\n",
    "            else:\n",
    "                new_feature_samples[key].se_sentence = negative\n",
    "        for entity_logit,entity in zip(se_entity_logits,entity_list):\n",
    "            key = (str(id),entity)\n",
    "            if key not in  new_feature_samples:\n",
    "                new_feature_samples[key] = NewFeatureSample(id,entity,se_entity==entity_logit)\n",
    "            else:\n",
    "                new_feature_samples[key].se_entity = entity_logit\n",
    "    mc_se_test_df = pd.DataFrame([sample.get_tuple() for sample in new_feature_samples.values()],columns=['id','entity','mc_predict','se_entity','se_sentence'])\n",
    "    return new_feature_samples,mc_se_test_df\n",
    "_,mc_se_test_df = make_mc_se_test_features()\n",
    "mc_se_test_df = mc_se_test_df.dropna()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [],
   "source": [
    "_,mc_se_df = make_mc_se_features()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [],
   "source": [
    "_,mc_df = make_mc_features()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>entity</th>\n",
       "      <th>mc_predict</th>\n",
       "      <th>se_entity</th>\n",
       "      <th>se_sentence</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>0</td>\n",
       "      <td>1267</td>\n",
       "      <td>资易贷（北京）金融信息服务有限公司</td>\n",
       "      <td>[-4.9175, -2.4626, 6.554]</td>\n",
       "      <td>[-4.284051895141602, 5.177525997161865]</td>\n",
       "      <td>[-5.652933597564697, 5.833582878112793]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>1</td>\n",
       "      <td>1267</td>\n",
       "      <td>小资钱包</td>\n",
       "      <td>[-5.2723, -2.2209, 6.5282]</td>\n",
       "      <td>[-4.356371879577637, 5.301202774047852]</td>\n",
       "      <td>[-5.652933597564697, 5.833582878112793]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>2</td>\n",
       "      <td>1267</td>\n",
       "      <td>恒丰银行</td>\n",
       "      <td>[-5.0347, 6.5708, -1.7464]</td>\n",
       "      <td>[3.0878849029541016, -3.0265259742736816]</td>\n",
       "      <td>[-5.652933597564697, 5.833582878112793]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>4</td>\n",
       "      <td>730</td>\n",
       "      <td>京东白条</td>\n",
       "      <td>[8.0109, -4.0164, -3.8582]</td>\n",
       "      <td>[5.7095465660095215, -5.585907459259033]</td>\n",
       "      <td>[6.109175205230713, -5.691971302032471]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>5</td>\n",
       "      <td>9966</td>\n",
       "      <td>网络小额贷款</td>\n",
       "      <td>[7.985, -3.8485, -4.0364]</td>\n",
       "      <td>[5.712749481201172, -6.114411354064941]</td>\n",
       "      <td>[5.938594818115234, -5.711514472961426]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>21489</td>\n",
       "      <td>9223</td>\n",
       "      <td>资易贷（北京）金融信息服务有限公司</td>\n",
       "      <td>[-4.5641, -2.4793, 6.5552]</td>\n",
       "      <td>[-4.347775459289551, 5.041008472442627]</td>\n",
       "      <td>[-5.523403167724609, 5.714493751525879]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>21490</td>\n",
       "      <td>9223</td>\n",
       "      <td>小资钱包</td>\n",
       "      <td>[-4.4554, -2.6234, 6.5931]</td>\n",
       "      <td>[-4.36795711517334, 5.213492393493652]</td>\n",
       "      <td>[-5.523403167724609, 5.714493751525879]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>21492</td>\n",
       "      <td>12874</td>\n",
       "      <td>软银</td>\n",
       "      <td>[-4.6111, -2.2138, 6.4147]</td>\n",
       "      <td>[-5.987604141235352, 5.552385330200195]</td>\n",
       "      <td>[-5.774433135986328, 6.579286575317383]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>21494</td>\n",
       "      <td>12874</td>\n",
       "      <td>宜贷网</td>\n",
       "      <td>[-4.4034, -2.4136, 6.4491]</td>\n",
       "      <td>[-5.640784740447998, 4.967833995819092]</td>\n",
       "      <td>[-5.774433135986328, 6.579286575317383]</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>21498</td>\n",
       "      <td>3593</td>\n",
       "      <td>京易商通科技股份有限公司</td>\n",
       "      <td>[-4.926, -1.9056, 6.113]</td>\n",
       "      <td>[-4.30443811416626, 4.3878068923950195]</td>\n",
       "      <td>[-6.4133620262146, 6.590082168579102]</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>18393 rows × 5 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "          id             entity                  mc_predict  \\\n",
       "0       1267  资易贷（北京）金融信息服务有限公司   [-4.9175, -2.4626, 6.554]   \n",
       "1       1267               小资钱包  [-5.2723, -2.2209, 6.5282]   \n",
       "2       1267               恒丰银行  [-5.0347, 6.5708, -1.7464]   \n",
       "4        730               京东白条  [8.0109, -4.0164, -3.8582]   \n",
       "5       9966             网络小额贷款   [7.985, -3.8485, -4.0364]   \n",
       "...      ...                ...                         ...   \n",
       "21489   9223  资易贷（北京）金融信息服务有限公司  [-4.5641, -2.4793, 6.5552]   \n",
       "21490   9223               小资钱包  [-4.4554, -2.6234, 6.5931]   \n",
       "21492  12874                 软银  [-4.6111, -2.2138, 6.4147]   \n",
       "21494  12874                宜贷网  [-4.4034, -2.4136, 6.4491]   \n",
       "21498   3593       京易商通科技股份有限公司    [-4.926, -1.9056, 6.113]   \n",
       "\n",
       "                                       se_entity  \\\n",
       "0        [-4.284051895141602, 5.177525997161865]   \n",
       "1        [-4.356371879577637, 5.301202774047852]   \n",
       "2      [3.0878849029541016, -3.0265259742736816]   \n",
       "4       [5.7095465660095215, -5.585907459259033]   \n",
       "5        [5.712749481201172, -6.114411354064941]   \n",
       "...                                          ...   \n",
       "21489    [-4.347775459289551, 5.041008472442627]   \n",
       "21490     [-4.36795711517334, 5.213492393493652]   \n",
       "21492    [-5.987604141235352, 5.552385330200195]   \n",
       "21494    [-5.640784740447998, 4.967833995819092]   \n",
       "21498    [-4.30443811416626, 4.3878068923950195]   \n",
       "\n",
       "                                   se_sentence  \n",
       "0      [-5.652933597564697, 5.833582878112793]  \n",
       "1      [-5.652933597564697, 5.833582878112793]  \n",
       "2      [-5.652933597564697, 5.833582878112793]  \n",
       "4      [6.109175205230713, -5.691971302032471]  \n",
       "5      [5.938594818115234, -5.711514472961426]  \n",
       "...                                        ...  \n",
       "21489  [-5.523403167724609, 5.714493751525879]  \n",
       "21490  [-5.523403167724609, 5.714493751525879]  \n",
       "21492  [-5.774433135986328, 6.579286575317383]  \n",
       "21494  [-5.774433135986328, 6.579286575317383]  \n",
       "21498    [-6.4133620262146, 6.590082168579102]  \n",
       "\n",
       "[18393 rows x 5 columns]"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "mc_se_df = mc_se_df.dropna()\n",
    "mc_se_df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [],
   "source": [
    "df = load_basic_dataset('train')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [],
   "source": [
    "#根据处理得到的mc_se_df制作新的数据集\n",
    "features = mc_se_df[['mc_predict','se_entity','se_sentence']].apply(lambda x:x[0]+x[1]+x[2],axis=1)\n",
    "features = np.array(features.values.tolist())\n",
    "#id,entity list\n",
    "indexes = list(zip(mc_se_df['id'].values,mc_se_df['entity'].values))\n",
    "#labels\n",
    "labels = [(index[1] in str(df[df['id'] ==int(index[0]) ]['key_entity'].values[0]).split(';')) for index in indexes]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [],
   "source": [
    "split_index =int( 0.8*len(features))\n",
    "val_features = features[split_index:]\n",
    "val_labels = labels[split_index:]\n",
    "val_indexes = indexes[split_index:]\n",
    "\n",
    "features = features[:split_index]\n",
    "indexes = indexes[:split_index]\n",
    "labels = labels[:split_index]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [],
   "source": [
    "test_features = mc_se_test_df[['mc_predict','se_entity','se_sentence']].apply(lambda x:x[0]+x[1]+x[2],axis=1)\n",
    "test_features = np.array(test_features.values.tolist())\n",
    "test_indexes =  list(zip(mc_se_test_df['id'].values,mc_se_test_df['entity'].values))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1.9078562354869602e-16\n",
      "1.000000000000001\n",
      "0.9256756756756757\n",
      "              precision    recall  f1-score   support\n",
      "\n",
      "      Benign       0.92      0.88      0.90        56\n",
      "   Malignant       0.93      0.96      0.94        92\n",
      "\n",
      "    accuracy                           0.93       148\n",
      "   macro avg       0.93      0.92      0.92       148\n",
      "weighted avg       0.93      0.93      0.93       148\n",
      "\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/home/njuciairs/anaconda3/envs/tftorch/lib/python3.6/site-packages/sklearn/linear_model/logistic.py:432: FutureWarning: Default solver will be changed to 'lbfgs' in 0.22. Specify a solver to silence this warning.\n",
      "  FutureWarning)\n"
     ]
    }
   ],
   "source": [
    "from sklearn.model_selection import train_test_split\n",
    "#拆分训练集和测试集（train_test_split是存在与sklearn中的函数）\n",
    "X_train,X_test,y_train,y_test = train_test_split(features,labels,train_size=0.99)\n",
    "#train为训练数据,test为测试数据,examDf为源数据,train_size 规定了训练数据的占比\n",
    "from sklearn.preprocessing import StandardScaler\n",
    "sc = StandardScaler()\n",
    "sc.fit(X_train)\n",
    "X_train_std = sc.transform(X_train)\n",
    "X_test_std = sc.transform(X_test)\n",
    "x_inferece_std = sc.transform(test_features)\n",
    "x_val_features_std = sc.transform(val_features)\n",
    "\n",
    "print (np.mean(X_train_std))\n",
    "print (np.var(X_train_std))\n",
    "from sklearn.linear_model import LogisticRegression\n",
    "#from sklearn.ensemble import  AdaBoostClassifier as LogisticRegression\n",
    "lr = LogisticRegression()\n",
    "lr.fit(X_train_std,y_train)\n",
    "from sklearn.metrics import *\n",
    "print(lr.score(X_test_std,y_test))\n",
    "y_result = lr.predict(X_test_std)\n",
    "print(classification_report(y_test,y_result,target_names=['Benign','Malignant']))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [],
   "source": [
    "val_predict_cls = lr.predict(x_val_features_std)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "metadata": {},
   "outputs": [],
   "source": [
    "val_ids = [id for id,_ in val_indexes]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "metadata": {},
   "outputs": [],
   "source": [
    "train_df = load_basic_dataset('train')\n",
    "train_df = train_df[train_df['id'].isin(val_ids)].reset_index(drop=True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 49,
   "metadata": {},
   "outputs": [],
   "source": [
    "false_samples = []\n",
    "for i,(vp,vl) in enumerate(zip(val_predict_cls,val_labels)):\n",
    "    if vp!=vl:\n",
    "        false_samples.append((*val_indexes[i],vp,vl))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 64,
   "metadata": {},
   "outputs": [],
   "source": [
    "false_keys = []\n",
    "for i,(vp,vl) in enumerate(zip(val_predict_cls,val_labels)):\n",
    "    if vp!=vl:\n",
    "        false_keys.append(val_indexes[i])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 51,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>id</th>\n",
       "      <th>title</th>\n",
       "      <th>text</th>\n",
       "      <th>entity</th>\n",
       "      <th>negative</th>\n",
       "      <th>key_entity</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>1201</td>\n",
       "      <td>10980</td>\n",
       "      <td>NaN</td>\n",
       "      <td>26北京君来投信息科技有限公司涉嫌非法吸收公众存款案</td>\n",
       "      <td>君来投;来投;北京君来投信息科技有限公司</td>\n",
       "      <td>1</td>\n",
       "      <td>北京君来投信息科技有限公司</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "         id title                        text                entity  negative  \\\n",
       "1201  10980   NaN  26北京君来投信息科技有限公司涉嫌非法吸收公众存款案  君来投;来投;北京君来投信息科技有限公司         1   \n",
       "\n",
       "         key_entity  \n",
       "1201  北京君来投信息科技有限公司  "
      ]
     },
     "execution_count": 51,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "train_df[train_df['id']==10980]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 52,
   "metadata": {},
   "outputs": [],
   "source": [
    "final_rs = [index+(predict_class,) for index,predict_class in zip(val_indexes,val_predict_cls)]\n",
    "rs_dict = {}\n",
    "for id,entity,cls in final_rs:\n",
    "    if id not in rs_dict:\n",
    "        rs_dict[id] = []\n",
    "    if cls==True:\n",
    "        rs_dict[id].append(entity)\n",
    "items = []\n",
    "for id,keys in rs_dict.items():\n",
    "    if len(keys) == 0:\n",
    "        items.append((id,0,np.nan))\n",
    "    else:\n",
    "        items.append((id,1,';'.join(keys)))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 53,
   "metadata": {},
   "outputs": [],
   "source": [
    "rs_df = pd.DataFrame(items,columns=['id','negative','key_entity'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 56,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "removed 中润国盈 by 中润国盈投资(集团)有限公司\n",
      "removed 温商贷 by 浙江温商贷互联网金融服务有限公司\n",
      "removed 恒信 by 恒信国际\n",
      "removed 红岭创投 by ????红岭创投\n"
     ]
    }
   ],
   "source": [
    "rs_df['key_entity'] = rs_df['key_entity'].map(lambda x: trans_keys(trans_map,x)).map(remove_short_entity_by_long)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 70,
   "metadata": {},
   "outputs": [],
   "source": [
    "def isFalseSample(x):\n",
    "    id,negative,key_entity = x\n",
    "    keys = str(key_entity).split(';')\n",
    "    for k in keys:\n",
    "        if (id,k) in false_keys:\n",
    "            return True\n",
    "    return False"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 80,
   "metadata": {},
   "outputs": [],
   "source": [
    "rs_df = rs_df[rs_df.apply(isFalseSample,axis=1)]\n",
    "rs_df  = rs_df.sort_values(['id'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 81,
   "metadata": {},
   "outputs": [],
   "source": [
    "train_df = train_df[train_df['id'].isin(rs_df['id'].values)].sort_values(['id'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 84,
   "metadata": {},
   "outputs": [],
   "source": [
    "train_df['predict'] = rs_df['key_entity'].values"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 88,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "@央视新闻@文化人李振斌请全国人民关注南京钱宝案件，南京公安跨省抓捕好几个投资人录忏悔录，诋毁钱旺公司，冻结公司所有资产，造成上千工人实业，几十万商家血本无归，强迫投资人报案，疯狂的删帖删QQ群让老百姓无处发声，暴力拦截和打压群众上访\n",
      "钱旺;钱宝 ==> 钱宝   |   钱旺;钱宝\n",
      "=============\n",
      "????#中央巡视[超话]#上海易贷网金融信息服务有限公司通过宜贷网平台供应链产品集资是一个有预谋的诈骗，恶意注册103个空壳公隔，103个标，资金达1个亿，诈骗老百姓的钱来做股权资金转让。国丰达（广州）股权投资基金有限公司和上海复毅投资管理中心有限公司与上海易贷网四大股东都有参与。 ?????\n",
      "宜贷网(沪);易贷网;宜贷网;上海易贷网金融信息服务有限公司 ==> 上海易贷网金融信息服务有限公司;宜贷网   |   易贷网;宜贷网\n",
      "=============\n",
      "????诈骗窝点2个，经初步核实涉案金额达人民币2000余万元。  经审讯，犯罪嫌疑人对犯罪事实供认不讳。目前，案件正在进一步深挖扩线中。  贷款诈骗其实并不少见！  2018年11月初的一天，浏阳市的何女士接到一个陌生电话，对方自称是平安普惠平台的信贷员，可以提供VIP贷款服务。正急需用钱的何女士便答 ?????\n",
      "IP贷;平安普惠 ==> nan   |   平安普惠\n",
      "=============\n",
      " 近期，北京、上海等地印发了重点群体增收实施方案。据不完全统计，目前全国有20多个省份出台了相关增收计划，目的是让七大重点群体赚到钱。其中，针对七大重点群体之一的小微创业者，河北、安徽两省分别出台了鼓励小微企业信贷投放、落实普惠制金融政策的措施。 据国家税务总局2017年第三季度数据统计，我国小型微利企业数量已占到全部企业数量的80%以上。但目前90%以上的小微企业无法从银行获得贷款，融资状态更为窘迫。全国工商联人士表示。 炒金如何赚钱专家免费指导银行黄金白银TD开户指南银行黄金白银模拟交易软件金投网桌面行情报价工具 记者了解到，一些股份制商业银行都有开展小微信贷业务，但是银行的审查相对严格，\n",
      "nan ==> nan   |   nan\n",
      "=============\n",
      "#公安部[超话]#宜贷网清盘收割三万出借人 ，伙同西部最大套路贷公司：成都易捷公司和#摩尔龙# 摩尔龙公司，签署阴阳合同套路借款人，收取大额逾期费和砍头息，并人为造成大量逾期，出借人和借款人两头吃。成都市公安局王平江，成都市锦江区公安分局李刚，副局长刘建林 不按程序办事，报案不给回执 ...全文： http://m.weibo.cn/6933665211/4355131170254928 ?\n",
      "北京金领贷;宜贷网(沪);摩尔龙;成都易捷公司;宜贷网 ==> 摩尔龙;成都易捷公司   |   摩尔龙;宜贷网;成都易捷公司\n",
      "=============\n",
      "这得益于2017年9月，中国监管部门正式将ICO定为非法融资之后，币安迅速转向海外，避开了雷区\n",
      "币安 ==> nan   |   币安\n",
      "=============\n",
      "????《待收近7亿的生菜金融被曝已立案，信披问题曾甩锅存管方平安银行》此前公司还曾让员工投钱，18年7月到期，至今年3月仍未完全退出。http://t.cn/EK0MpFL ?????\n",
      "平安银行;生菜金融 ==> 生菜金融   |   生菜金融;平安银行\n",
      "=============\n",
      " 海佛金融宣布良性退出 所有款项已履行完毕 市场信息网???2018-06-25 08:33:39???来源: 金融虎???评论： 　　6月22日消息，P2P平台海佛金融日前发布公告称，平台借款资金已经全部清偿到出借人账户，平台主动退出互联网金融业务。 　　海佛金融公告称，截止2018年6月20日，经海佛金融平台撮合的全部借款项目已经按照合同约定履行完毕，借款资金已经全部清偿到资金出借人的账户。海佛金融宣布，平台正式推出互联网金融业务。 {IMG:1} 　　资料显示，海佛金融的实体公司为沈阳海佛兴民投资有限公司，注册资本金实缴人民币5000万元，注册成立于2012年11月，平台宣布签订了资金存\n",
      "沈阳海佛兴民投资有限公司;海佛金融 ==> nan   |   海佛金融;沈阳海佛兴民投资有限公司\n",
      "=============\n",
      "#玖富万卡# 支持玖富万卡怼逾期老赖，加油玖富//@大大宝子1:#玖富万卡# \n",
      "大大宝;玖富;玖富万卡 ==> nan   |   玖富万卡\n",
      "=============\n",
      "????《华融信托贷款逾期背后：融资方旗下公司涉非吸被查》近日，中国裁判文书网公布的3份执行裁定书，让华融国际信托有限责任公司一笔4亿元信托贷款逾期细节浮出水面。http://t.cn/AilMDPgE ?????\n",
      "华融国际信托有限责任公司;华融信托;华融信 ==> 华融信托   |   华融信托;华融国际信托有限责任公司\n",
      "=============\n",
      " 3 程维卸任滴滴旗下小贷公司法定代表人 后者曾因失联被\n",
      "网贷天眼;易贷通;滴滴 ==> 易贷通   |   滴滴;易贷通\n",
      "=============\n",
      "????劳动赚取自己所得光荣   非法敛取他人血汗可耻   欢迎观摩p2p老赖----名牌大学毕业生：李兆民（北京邮电大学），潘博艺（南开大学硕士）。前情提要：资易贷（北京）金融信息服务有限公司（简称小资钱包P2P平台） 自2018年9月爆发大面积（几乎全部）逾期至今已8个月，逾期金额四亿多，大部分出借金 ?????\n",
      "懒财网;小资钱包;资易贷;太易资本 ==> 懒财网;太易资本   |   小资钱包;太易资本;资易贷\n",
      "=============\n",
      " {IMG:1} 摘要 [每日平台净流出预警]是内幕君在以前固定的黑名单基础上，新增设的栏目。将会每天预警三家在流动性上可能有风险的平台，逻辑是资金的流出量相对于平台体量较大。新增设栏目的原因很简单：金融风险永远是滞后的，即使类似于e租宝一般的现在被认为是类旁氏骗局的平台，也能看上去很正常地运营少则1、2年多则3、5年。在这期间如何能发现此类平台的风险，而不是在平台爆发风险之后再后知后觉？内幕君未来将会花更大的精力在平台的提前预警上，也算是内幕君读者的福利了。 本次预警平台的数据来源是网贷之家6月20日的最新数据。 内幕君根据平台资金净流入和平台规模的比例，经过计算，列出前十大预警的平台。 需\n",
      "米缸金融;财富派;蜂硕金融;财富派（泸） ==> 财富派   |   蜂硕金融;米缸金融;财富派\n",
      "=============\n",
      "????#小资钱包出借人[超话]##小资钱包[超话]##扫黑除恶[超话]#恒丰银行狼狈为奸、助纣为虐，勾结诈骗平台小资钱包收割出借人！ 海淀经侦打击洗黑钱诈骗平台在行动         资易贷(小资钱包）李兆民潘博艺精心构建利益链共同体         平台开业勾结官方领导干部站台代言虚假宣传 解思忠～国家国资委领导 汤 ?????\n",
      "小资钱包;恒丰银行;资易贷;资易贷(小资钱包） ==> 恒丰银行;资易贷(小资钱包）   |   小资钱包;恒丰银行\n",
      "=============\n",
      "????#小资钱包爆料[超话]##小资钱包爆料[超话]##小资钱包爆料[超话]##扫黑除恶[超话]##银监会[超话]#恒丰银行帮助小资钱包平台诈骗出借人 海淀经侦打击洗黑钱诈骗平台在行动         资易贷(小资钱包）李兆民潘博艺精心构建利益链共同体         平台开业勾结官方领导干部站台代言虚假宣传 解思忠～国家国 ?????\n",
      "小资钱包;恒丰银行;资易贷 ==> 小资钱包;资易贷   |   小资钱包;恒丰银行;资易贷\n",
      "=============\n",
      "????//@小资钱包逾期受害人:#扫黑除恶[超话]##恒丰银行与小资钱包1[超话]##小资钱包涉嫌诈骗[超话]#@海淀公安分局 @扫黑除恶进行时 @公安部刑侦局 @任玉岭 @解思忠 @海淀检察@北京海淀法院  @最高人民法院@最高人民检察院@求真栏目  @中国青年报 @全国打黑办 @北京青年报 @北京警务督察  @打黑除恶抓恶人 @\n",
      "小资钱包;恒丰银行 ==> 小资钱包   |   小资钱包;恒丰银行\n",
      "=============\n",
      "????#全国人大[超话]##小资钱包[超话]#北京资易贷旗下的借贷平台小资钱包涉嫌非法集资近四个亿，北京石景山金融办不予受理我们的诉求，北京海淀区经侦更是放任违法犯罪分子逍遥法外，希望有关部门能够给我们做主[怒]@北京市石景山 @北京12320在聆听 @北京12345 @海淀公安分局 @崔永元 @北京发布 @财经网 ? ?????\n",
      "小资钱包;易资贷;资易贷 ==> 小资钱包;易资贷   |   易资贷;小资钱包;资易贷\n",
      "=============\n",
      "????@海淀公安分局@最高人民检察院 @最高人民法院@北京海淀法院 @海淀检察 @海淀在线 @北京青年报 强烈要求海淀经侦以经融诈骗定性！！！太多的真凭实据充分说明小资钱包就是典型的金融合同诈骗 ，庞氏骗局 ，绝不是非吸！！！@北京警务督察 #扫黑除恶[超话]##恒丰银行与小资钱包1[超话]##中央巡视[超话]#\n",
      "小资钱包;恒丰银行 ==> 小资钱包   |   小资钱包;恒丰银行\n",
      "=============\n",
      "@小资钱包逾期受害人 @恒丰银行 @海淀公安分局 @崔永元 @春晚 @北京市石景山 @北京人说北京事儿 @笑看人生56976 @北京12345 @北京市石景山 @风来趣396 @俄罗斯卫星通讯社 @北京晚报 @超话社区 @光-1314 @澎湃视频 @上海发布 @随媛札记 \n",
      "工银金融;小资钱包;恒丰银行;众可贷 ==> 工银金融;众可贷   |   小资钱包\n",
      "=============\n",
      "平台名称 ：?绿能宝预警类型 ：?跟踪逾期预警原因 ： 据我平台跟踪，绿能宝投资人于4月9日完成提现的，今天陆续到账。\n",
      "绿能宝;润阳贷;怡达理财;田金所;点益金;惠投资;盛金宝;汇普金融;君融贷;总财贷;新沃金融;巨惠投资 ==> nan   |   怡达理财;润阳贷;绿能宝;巨惠投资\n",
      "=============\n",
      "【图】鼎金国际微交易亏损该怎么继续操作才能赚钱呢?\n",
      "鼎金国际;国际微交易;微交易 ==> nan   |   鼎金国际\n",
      "=============\n",
      "//@越飞越高-上海:@海淀公安分局 @平安北京 #小资钱包涉嫌诈骗[超话]# #小资钱包[超话]# #中央巡视[超话]# #头号直通中纪委[超话]# #扫黑除恶[超话]# 易通贷和资易贷都是海淀区，前后差两周多受案调查，如果不说小资钱包，连办案警察都能搞混了！全国协查地方的协警也迷惑??\n",
      "易通贷;小资钱包;资易贷 ==> 小资钱包   |   易通贷;小资钱包;资易贷\n",
      "=============\n",
      " 活力宝宝网-网上-最专业最贴心的母婴购物 音乐胎教,早教教材,家用胎心仪,产后塑身衣（）：贵州P2P招商贷逾期：董事长被抓 股东竟还忙着收购华夏人寿 在P2P暴雷潮下，贵州知名P2P企业招商贷出现大规模逾期、提现难问题，从今年8月持续到现在，尚无缓解向好迹象。11月6月上午，贵阳互联网金融协会现场检查了招商贷。令监管部门紧张的是，来自天南地北的投资人正在集结贵阳，抱团讨要血汗钱。一位来自四川的投资人告诉看看新闻Knews记者，中天金融是招商贷的控股股东，他们更多是看好中天金融(000540.SZ)的上市公司背景，才敢投贵州这家P2P企业，2017年初到现在，我总共投了几十万，今年8月提现已经\n",
      "华夏人寿;招商贷;中天城投（贵州）普惠金融服务有限公司;天金融集团股份有限公司 ==> 招商贷;中天城投（贵州）普惠金融服务有限公司;天金融集团股份有限公司   |   华夏人寿;天金融集团股份有限公司;中天城投（贵州）普惠金融服务有限公司;招商贷\n",
      "=============\n",
      "//@ws12345wqy:#头号直通中纪委[超话]##小资钱包涉嫌诈骗[超话]##公安部[超话]##国家反贪局[超话]##北京爆料[超话]##小资钱包[超话]##恒丰银行与小资钱包1[超话]#\n",
      "小资钱包;恒丰银行 ==> 小资钱包   |   小资钱包;恒丰银行\n",
      "=============\n",
      "#中国曝光[超话]##小资钱包涉嫌诈骗[超话]##小资钱包[超话]##迫切急待回归活命钱##头号直通中纪委[超话]##中纪委监察部[超话]##聚焦海淀公安##小资钱包爆料[超话]##国务院常务会[超话]##恒丰银行与小资钱包1[超话]##中纪委监察部# 致敬国民好政策一带一路，小资钱包全体金融难民求脱贫，求致富  京...全文： http://m.weibo.cn/7030641551/4359195979157967 ?\n",
      "小资钱包;恒丰银行 ==> 小资钱包   |   小资钱包;恒丰银行\n",
      "=============\n",
      "《【法律讲堂】唐小僧的P2F模式，到底是非法集资犯罪还是违规金融活动\n",
      "唐小僧 ==> nan   |   唐小僧\n",
      "=============\n",
      " 龙游县税务局积极行动，助力社会信用体系建设。自2016年以来，该局不断完善运用纳税信用评价制度和守信联合激励机制，通过信用等级评价确定激励对象，给予A级纳税信用企业多种税收便利，打造诚信纳税金名片。 据介绍，龙游税务与银监部门及银行业金融机构联合开展银税互动，为纳税守信企业提供必要的贷款支持，让纳税信用成为小微企业的信用资产，助力小微企业发展。 近年来，龙游县税务局持续完善纳税信用评价制度。每年4月确定上一年度纳税信用评价结果，并根据补、复评情况，对纳税人的信用等级实时调整。 信用评级是基础，落地应用更关键。据介绍，龙游县税务局全力落实《关于对纳税信用A级纳税人实施联合激励措施的合作备忘录》\n",
      "nan ==> nan   |   nan\n",
      "=============\n",
      "????#宜贷网# 转发：本人，实名举报四川省成都市公安局锦江分局经侦大队大队长庄万君的不作为，为金融诈骗份子通风报信，充当金融诈骗份子的保护伞。 庄万君主要犯罪行为如下: 1、上海易贷网金融信息服务有限公司，简称宜贷网，注册地在上海，实际经营地在成都，于2018年12月29日清盘，3万多受害老百姓民怨 ?????\n",
      "宜贷网(沪);易贷网;宜贷网;上海易贷网金融信息服务有限公司 ==> 上海易贷网金融信息服务有限公司;宜贷网   |   易贷网;宜贷网\n",
      "=============\n",
      " {IMG:1} 最新内容· 宜贷网断不能独善其身· 阳光黔贷控股股东爱达财富清盘了，这事· 玖财通是不是雷了· 最新预警丨一起好理财逾期、央金所暂停· 如何看待玖富普惠、拍拍贷等网贷平台今· P2P问答 | 钱牛牛安全吗？简理财暗雷了？· 留下||远岛· 小微钱铺2018-10-09浙江杭州终止运营· 乒乓联赛传佳讯 附中健儿展英姿· 江苏总社||《烛光》||作者：Coral珊瑚（加 推荐内容 {IMG:2} 熊猫金库回应兑付问题， {IMG:3} >《中餐厅》舒淇赵薇退 {IMG:4} 多个大平台出事，P2P备 {IMG:5} 和信贷42天，依然排队中 {IMG:6} 逾期一个月被省金融办\n",
      "爱达财富;阳光黔贷;拍拍贷;玖财通;阳关黔贷;宜贷网 ==> 爱达财富;拍拍贷;玖财通;阳关黔贷;宜贷网   |   玖财通;拍拍贷;爱达财富;阳关黔贷;宜贷网;阳光黔贷\n",
      "=============\n",
      " 工商银行(01398)获中国平安增持1702万股 　　根据港交所最新权益披露资料显示，2019年2月22日，工商银行(01398.HK)获中国平安保险(集团)股份有限公司场内以每股均价5.9269港元，增持1702万股，总价约1.01亿港元。 　　增持后，中国平安保险(集团)股份有限公司持有权益的股份数目9,558,185,214，占已发行的有投票权股份百分比11.01%。 【关闭窗口】 声明：在本机构，本人所知情的范围内，本机构，本人以及财产上的利害关系与所推荐的证券没有利害关系。 ??????数据、资讯等内容均来源于第三方，仅供参考，据此操作风险自负。\n",
      "nan ==> nan   |   nan\n",
      "=============\n",
      "????#包青天超话[超话]##小资钱包[超话]##小资钱包涉嫌诈骗[超话]##恒丰银行与小资钱包1[超话]##小资钱包[超话]##小资钱包涉嫌诈骗[超话]# 尊敬的中央扫黑除恶第11督导组：  我们是资易贷（北京）金融信息服务有限公司旗下小资钱包平台的出借受害人，平台有经济学家国务院参事任玉岭、国务院国资委主席 ?????\n",
      "资易贷（北京）金融信息服务有限公司;小资钱包;恒丰银行;资易贷 ==> 资易贷（北京）金融信息服务有限公司;小资钱包   |   小资钱包;资易贷（北京）金融信息服务有限公司;恒丰银行\n",
      "=============\n",
      "请问大家网贷之家推广的返利活动平台有跑路的吗？求大神指教！\n",
      "返利;大家网;网贷之家 ==> nan   |   网贷之家\n",
      "=============\n",
      "//@赤身烈女:联璧金融背景看来挺大呀。一直没动静//@傻老帽子:里外贷，这是你没国资委多股分赃背景的下场……你瞧人家斐评改革创新开拓诈骗术，诈骗全国30下省189万人113个亿，至今不也平安无事？\n",
      "联璧金融;里外贷 ==> 联璧金融   |   联璧金融;里外贷\n",
      "=============\n",
      "原来保险还有这样的妙用?????? 【养着摇钱树，搂住聚宝盆，骑驴找马】[發]闲钱放入年金享受安全稳健的收益【预定利率4.025】；遇到极好的短期投资机会，可马上启动【保单贷款】，贷出保单现价的80%;一边丝毫不影响保单原有增值，一边赚短期投资的快钱[色][色]让你的每分钱都用到极致[耶]私信规划...全文： http://m.weibo.cn/1751067504/4396027169842220 ?\n",
      "nan ==> nan   |   nan\n",
      "=============\n",
      "这两天，有个大新闻：陆金所要退出P2P市场。  P2P，简单说就是点对点网络借款。中国P2P平台在2010年后，开始快速增长，到2012年已经有2000多家，2013年一段时间里以每天1—2家的速度增加，到2014年行业整体交易规模突破2500亿元。  但随着野蛮生长，行业的问题也不断暴露出来，雷暴频频。2016年，监管...全文： http://m.weibo.cn/2352323481/4396230526520455 ?\n",
      "陆金所 ==> nan   |   陆金所\n",
      "=============\n",
      "????//@Getgoing:#斐讯0元购调查# 斐讯旗下的联璧金融也写的平台资金托管银行为北京银行……时至今日，斐讯还未被立案，魔幻上海。@正义网 @中国警方在线 @中国长安网 http://t.cn/Ail0SMYo疯了，银行一起搞鬼，没救了！\n",
      "联璧金融;斐讯;北京银行 ==> 联璧金融;斐讯   |   北京银行;斐讯;联璧金融\n",
      "=============\n",
      " 点击上方 同城防骗联盟关注公众号 在人们印象中，办公场所往往能在一定程度上代表公司的实力。其实，这种观点太过片面。 如今，在城市的高档写字楼里，也有一些骗子公司。比如，安徽芜湖有关部门近期就现场排查了一批写字楼，结果发现有不少公司涉嫌非法集资等金融犯罪。 {IMG:1} 8月8日中午，安徽省芜湖市镜湖区金融办、公安、工商及属地公共服务中心工作人员组成联合行动组，赴滨江世茂写字楼开展排查工作。 执法检查人员重点盯住资产、投资、金融等公司，一共现场检查了4家公司，详细了解了他们的业务开展、工作人员组成等情况，并现场约谈公司负责人，收集相关材料，以做进一步调查了解，确定他们是否存在违规违法行为。 \n",
      "有用分期;南京胜沃投资管理有限公司芜湖分公司;华夏信;上海厚冠信息咨询有限公司芜湖分公司;银谷在线;绩溪上河颐养产业投资管理有限公司芜湖分公司;安徽岳西老来乐养老中心;华夏信财信息咨询（上海）有限公司芜湖分公司;华夏信财;安徽良门孝道养老服务有限公司芜湖分公司;网润金服电子商务有限公司芜湖分公司;升升投;正合普惠（深圳正合普惠金融服务有限公司）;平安普惠投资咨询有限公司芜湖分公司;幸福澜海养老产业发展有限公司芜湖分公司;锐拓（杭州）互联网金融信息服务有限公司芜湖分公司;镜湖区春百日用百货店;青岛海捷新能源汽车服务有限公司芜湖分公司;升升投（中发展信（北京）投资管理有限公司）;银谷普惠信息咨询（北京）有限公司芜湖分公司;美利金融的品牌暨全资子公司;北京仁远融信资本管理有限公司芜湖分公司 ==> 有用分期;南京胜沃投资管理有限公司芜湖分公司;上海厚冠信息咨询有限公司芜湖分公司;绩溪上河颐养产业投资管理有限公司芜湖分公司;安徽岳西老来乐养老中心;华夏信财信息咨询（上海）有限公司芜湖分公司;安徽良门孝道养老服务有限公司芜湖分公司;网润金服电子商务有限公司芜湖分公司;正合普惠（深圳正合普惠金融服务有限公司）;平安普惠投资咨询有限公司芜湖分公司;幸福澜海养老产业发展有限公司芜湖分公司;锐拓（杭州）互联网金融信息服务有限公司芜湖分公司;镜湖区春百日用百货店;青岛海捷新能源汽车服务有限公司芜湖分公司;升升投（中发展信（北京）投资管理有限公司）;银谷普惠信息咨询（北京）有限公司芜湖分公司;美利金融的品牌暨全资子公司;北京仁远融信资本管理有限公司芜湖分公司   |   安徽岳西老来乐养老中心;平安普惠投资咨询有限公司芜湖分公司;幸福澜海养老产业发展有限公司芜湖分公司;绩溪上河颐养产业投资管理有限公司芜湖分公司;有用分期;银谷在线;南京胜沃投资管理有限公司芜湖分公司;上海厚冠信息咨询有限公司芜湖分公司;网润金服电子商务有限公司芜湖分公司;华夏信财信息咨询（上海）有限公司芜湖分公司;升升投（中发展信（北京）投资管理有限公司）;美利金融的品牌暨全资子公司;正合普惠（深圳正合普惠金融服务有限公司）;银谷普惠信息咨询（北京）有限公司芜湖分公司;镜湖区春百日用百货店;锐拓（杭州）互联网金融信息服务有限公司芜湖分公司;青岛海捷新能源汽车服务有限公司芜湖分公司;安徽良门孝道养老服务有限公司芜湖分公司;北京仁远融信资本管理有限公司芜湖分公司\n",
      "=============\n",
      ";但是对于唐小僧这种以P2F为主要产品特点或者宣传特点的平台而言，是否会有自融问题，目前还不得而知\n",
      "唐小僧 ==> nan   |   唐小僧\n",
      "=============\n",
      "对于安信卓越公司业务的几个疑问1，是否是自融自保，安信卓越这\n",
      "安信;安信卓越 ==> nan   |   安信卓越\n",
      "=============\n",
      "????//@小资钱包逾期受害人:？？？@海淀公安分局1.冻结小资账户多少钱？ 2.是否追查正聚源孙正、伟强、张赛资产？ 3.银行流水显示那么多第三方支付，追缴小资客服的违法所得。 4.6月16日能否正式批捕李兆民潘博艺？ 5.及时定期公布进展情况，参考团贷网、草根。6.不能公告进展情况是因为平台有官方保护伞还\n",
      "草根;小资钱包;正聚源;团贷网 ==> 小资钱包;正聚源   |   小资钱包;团贷网;草根;正聚源\n",
      "=============\n",
      "????51人品贷暴力催收P图骚扰通讯录_宜信贷款投诉_易信理财www.yixinlicai.com http://t.cn/EKD1FIO ?????\n",
      "51人品贷;宜人贷;宜信 ==> 51人品贷   |   宜信;51人品贷\n",
      "=============\n",
      "????//@用户vfcx8zwltt:希望警方参考投之家，草根投资，牛板金等p2p平台的处理方式，把银行存管帐户里的冻结资金尽快解冻，这些资金按照法律规定，毫无争议的属于个人财产。好多人等着用钱救急呢\n",
      "牛板金;投之家;草根投资 ==> nan   |   草根投资;牛板金;投之家\n",
      "=============\n",
      "这就是吃肉不吐骨头的杭州招财猫理财给我们受害人每个月的兑付，一点一点的压榨我们受害人，也不立案，真的好无语 ?\n",
      "招财猫;招财猫理财 ==> 招财猫   |   招财猫理财\n",
      "=============\n",
      " {IMG:1} 平台动态语音版 今金贷，技术逾期。 投友爆料平台有回款出现延期，客服也确认了此事，客服强调是因为借款人周末还款，技术原因导致无法到账。 对公账号确实有周六日到账不及时的情况。 17理财，上线新产品。 新产品是企信通、惠农宝产品，宣传完全合规，肯定要合规了，新上线的产品再不合规也说不过去啊。 另外有投友反应，提现几天了仍没有到账，并且平台的股东变更频繁。 翼龙贷，调整转让利率。 调整后的转让利率有所下降。 另外从平台处确认，外国人也是可以注册投资P2P的，需要永久的居留证和一张大陆的银行卡，就可以直接注册。港澳台的，需要港澳台通行证和一张大陆银行卡即可。 如果你有港澳台的朋友或\n",
      "惠农宝产品;17理财;企信通;今金贷;觅宝网;翼龙贷 ==> 17理财;今金贷   |   企信通;翼龙贷;惠农宝产品;今金贷\n",
      "=============\n",
      " ? 转眼已经进入2018的下半年，上半年过去，网贷行业并不太平，好在各网贷平台仍然干劲十足，网贷投资人也仍保持着乐观、积极的状态，因此行业仍然是一派生机勃勃的气象。甚至在进入7月后，活动更多、福利更丰。如陆金所、广富宝、宜人贷等实力平台，加息、送红包等活动虽然老套，但送出的福利确是可以取现到账的真金白银，据了解，最高的平台加息幅度达4.18%，新手投资的话，实际年投资回报率已达18%，诚意十足。 ? {IMG:1} PPmoney：年化6% ? PPmoney是一家名气较大的平台，在广告方面投入较大，因此能快速打开市场，获得较多投资用户关注。PPmoney的主要资产是消费金融，另外业务扩张，\n",
      "喜悦金融;陆金所;米袋;宜人贷;米袋子理财;摩根浦捷贷;实在贷;放心金融;广富宝 ==> nan   |   摩根浦捷贷\n",
      "=============\n",
      "????红岭创投良性清盘今天回来笔大的足足有8100万，据说这里面有山东天业的7000万到了，这样下来本周五天分别到账1300万，1300万，800万，1300万，8100万，合计到账1.28亿！只是截止到我发帖官方也没公告还款来源，如果是天业的，那么本周议论纷纷的到期一亿多的房易贷呢？也没说今天要不要兑付！本周论坛 ?????\n",
      "红岭创投;????红岭创投;房易贷 ==> 房易贷   |   ????红岭创投\n",
      "=============\n",
      " 互金每日早知道：拍拍贷取消彩虹转让功能；多家P2P平台预警 联璧金融、稳展财富、壹理财、普益金服、金大圣、溪安金服P2P今日资讯 1、6月22日，P2P平台拍拍贷在其官网发布两个公告，分别对彩虹转让功能（公告一）、债权转让定价范围（公告二）作出了相应调整。其中公告一提到，因业务调整和产品优化的需求，拍拍贷预计将于2018年06月28日起下线彩虹转让功能。本次调整，不影响用户已经持有的彩虹转让的权益，会按照原有规则进行回款。 2、进入6月以来，又有不少平台背后运营主体公司发生股权变更。其中，永利宝、君财金服两家平台的运营公司，在股权变动、引入新股东后，实际控股股东出现变更。 3、6月21日晚间\n",
      "联璧金融;金大圣;稳展财富;千壹理财;普益金服;拍拍贷;壹理财;溪安（上海）网络技术有限公司;溪安金服 ==> 联璧金融;金大圣;稳展财富;普益金服;拍拍贷;壹理财;溪安金服   |   稳展财富;溪安（上海）网络技术有限公司;金大圣;联璧金融;溪安金服;壹理财;拍拍贷;普益金服\n",
      "=============\n",
      "事实上，浙江翰晟被查封与草根投资涉嫌非法吸收公众存款案息息相关，草根投资爆雷后，万家乐董事长陈环就一直处于失联状态，陈环之所以被逮捕，原因疑似有二：一是，陈环控制的浙江翰晟这家公司，原就是草根控股有限公司（以下简称：草根控股）（更名为浙江众核万维控股有限公司）的全资子公司；二是，陈环的另一身份是草根投资曾经的首席律师\n",
      "万家乐;浙江众核万维控股有限公司;首席;草根控股;草根投资;草根控股有限公司 ==> 万家乐;浙江众核万维控股有限公司;草根控股;草根控股有限公司   |   浙江众核万维控股有限公司;草根投资;草根控股;万家乐\n",
      "=============\n",
      " {IMG:1} 首页P2P曝光投资分享P2P预警小道消息P2P政策P2P新闻平台新闻平台档案联系我们 ??收起 ??展开 网贷内幕 分享最新P2P内幕-专注于网贷平台预警、P2P投资、政策分析！ 蓝驰创投投资的爱当宝又雷了，加上之前已经暴雷的零钱包，还有半雷的钱牛牛，这是妥妥的下一个春晓资本？ ? ? ? 本文出自 网贷内幕 ，转载时请注明出处及相应链接。 本文永久链接: http://www.wangdai.info/2018/09/12/aidangbao/ ? 金谷财行借款企业经营异常，注册资本2万借款20万 \n",
      "爱当宝;钱升钱;零钱包;钱牛牛;蓝驰创投 ==> 爱当宝;零钱包;钱牛牛;蓝驰创投   |   零钱包;蓝驰创投;钱牛牛;爱当宝;钱升钱\n",
      "=============\n",
      "但工商部门查证表示，博旅理财网站没有备案，不是正规公司，涉嫌非法集资或者是诈骗\n",
      "理财网;博旅理财;信和财富 ==> 信和财富   |   博旅理财;信和财富\n",
      "=============\n",
      " {IMG:1} 金评媒消息，3月20日，据浙江经侦微信公众号发布的立案通报称，台州阿凡拉控股有限公司未经金融部门批准，利用 有财气网络投资平台，对外公开宣传，经营P2P业务，向投资人承诺保本付息，吸引社会不特定群众进行投资，数额巨大。台州市公安局椒江分局已于2019年3月18日以涉嫌非法吸收公众存款罪对该公司立案侦查。ngD京燕头条-懂你的新闻才是你想看的 {IMG:2} ngD京燕头条-懂你的新闻才是你想看的 公开资料显示， 有财气平台由台州阿凡拉控股有限公司运营，公司原名浙江阿凡拉资产管理有限公司，注册于2013年12月27日，原注册地杭州西湖区，注册资金2000万，有财气平台上线于20\n",
      "红岭创投;亿钱贷 ==> nan   |   亿钱贷;红岭创投\n",
      "=============\n",
      " 本文标签： 金苏在线 金苏在线https://www.jinsuzaixian.com/index.html于2017年9月4日晚上21:57分。已爆雷！ {IMG:1} 平台目前已经雷了 官网上没看到发布逾期公告 却是正常发标 外面还有推的??投资人谨慎了?? {IMG:2} {IMG:3} 相关文章：【10月21日预警】这家线下门店超27个省份的平台非吸立案了！金苏在线、思迈财富、鑫汉投资、国诚投资 2017-10-23金苏在线有人去现场了，听说拿到承诺书了 2017-09-08曾被多次扒曝光的酷盈真的暴雷顺带上了金苏在线！ 2017-09-06金苏在线基本已雷 2017-09-13金苏\n",
      "酷盈;鑫汉投资;国诚投资;思迈财富;金苏在线;金苏财富 ==> 酷盈;金苏在线   |   酷盈;鑫汉投资;金苏财富;金苏在线;国诚投资;思迈财富\n",
      "=============\n",
      "????发表了博文《金银米借条：团贷网案，中植系投资小黄狗不足两成派生科技质押中融信托未果》团贷网涉嫌非法吸收公众存款3月28日被立案侦查，该公司及关联公司派生科技背后牵涉多家机构。目前，公司实控人和多名高管http://t.cn/E9vL7yN ?????\n",
      "中融信托;中植系;团贷网;派生科技 ==> 团贷网   |   派生科技;中融信托;团贷网;中植系\n",
      "=============\n",
      "{IMG:1} ? 进入6月，对于 网贷行业的规范发展仍在继续。 ? 6月5日，北京市朝阳区互联网金融协会针对辖区内的网贷机构，要求严格执行三降，持续降低风险。上海互金协会也于近期发布规范催收的倡议书，对网贷机构责任进行明确规定。平台方面，多家互金企业公布了一季度报，备受关注的金信网被警方立案，抓捕人数超过 团贷网。 ? 一、监管动态：朝阳互金协会要求严格执行三降 上海发布规范催收倡议书 ? > ? 6月5日，朝阳区互金协会提示朝阳区内各网贷机构，应当坚持依法合规经营、及时对照整改自身存在问题，严格落实国家有关部门关于压降存量业务规模、出借人数量、借款人数量的三降要求，持续降低业务风险。> ?\n",
      "微贷网;陆金所;红岭创投;网贷天眼;金信金融信息服务（北京）有限公司;金信金融;团贷网;百金贷;金信网;中国平安;金诚集团;宜贷网 ==> 金信金融信息服务（北京）有限公司;金信金融;团贷网;金诚集团   |   团贷网;陆金所;百金贷;金信金融信息服务（北京）有限公司;金诚集团;金信网\n",
      "=============\n",
      "[e租宝都跑路两年了，为何还有人敢投钱宝网]2017年12月28日\n",
      "租宝;e租宝;宝都;钱宝网;钱宝;敢投 ==> e租宝;钱宝网   |   钱宝网;e租宝;宝都\n",
      "=============\n",
      "@网信普惠官方微博 @翼龙贷 @宜信 @玖富 @点融 @人人贷财富 @拍拍贷官方微博 @陆金所官方微博 @PPmoney官方微博 @红岭创投 @厚本金融 @网信盛佳 @翼龙贷王思聪 @宜信唐宁 @红岭创投-周世平 @PPmoney万惠集团宝叔 各位，从团贷网暴雷后政府的态度看，P2P大势已去，作为老投友我万分悲痛的通知各位珍重 ?\n",
      "红岭创投;陆金所;点融网;人人贷;拍拍贷;玖富;宜人贷;PPmoney;点融;团贷网;翼龙贷;宜信 ==> 团贷网   |   拍拍贷\n",
      "=============\n",
      "国美等等大型国美平台购买，现在包括移动公司，有的用户几个月了提现还是不能到账，有媒体调查了一下居然涉嫌传销华夏万家金服涉嫌非法集资\n",
      "华夏万家;国美;华夏 ==> 华夏万家   |   华夏万家;国美\n",
      "=============\n",
      "58配资被带单老师带亏损了该怎么办啊，急！\n",
      "59配资;58配资 ==> 59配资   |   58配资\n",
      "=============\n",
      "12月11日下午，东方成安资产管理有限公司（简称东方成安）总裁失联的消息在私募圈疯狂刷屏，而火山君查阅东方成安官网发现，其中在12月8日公司发布了两则重要公告，其中一则是东方成安相关基金产品延期兑付的公告，另一则是中润国盈投资（集团）有限公司（简称中润国盈）和东方成安成立联合应急处置小组的通知\n",
      "国盈;中润国盈;中润国盈投资(集团)有限公司;东方成安相关基金;私募圈;东方成安资产管理有限公司;盈投资;东方成安;国盈投资 ==> 东方成安资产管理有限公司;东方成安   |   中润国盈投资(集团)有限公司;东方成安资产管理有限公司\n",
      "=============\n",
      " 一般理财追求的无非就是简单、收益稳定、省时省心，但由于市场上理财产品琳琅满目，优劣不一，确实难以抉择。但相对于大多数理财而言，网贷确实是契合度最高的，网贷的初衷就是助力实体经济，实现普惠金融，因此在设计上普遍以低门槛、易操作为目的；其收益一直以来也备受赞赏，除了日常高达6%-15%的收益，还经常会有促销活动，新手年化能到18%，米缸金融、广富宝、玖富等就是当中优质的、运营健康的代表平台，收益可观，广受投资者喜爱。 ? 米缸金融：年化6.8%起 ? 米缸金融，属于行业的年轻平台，上线于2014年，是具有履约保证保险的平台。其主要提供的信用借款资产，为了确保借款人足够优质，其接入了金融信息共享系\n",
      "通通理财;投米网;米缸金融;和润贷;玖富;葫芦金融;和缘融贷;乐融巴巴;新安左右贷;宜信;广富宝 ==> nan   |   通通理财\n",
      "=============\n",
      "????#修正药业自融诈骗##永利宝火理财[超话]#@头条新闻 @人民网 @全球头条新闻事件 @凤凰新闻客户端 @警民直通车-上海 @警民直通车-浦东 @陈士渠 @国际在线新闻 @看看新闻KNEWS @中国新闻网 @央视新闻 @香港文匯網 http://t.cn/Ail7bx53 ?????\n",
      "????修正药业;火理财;永利宝;永利宝火理财 ==> ????修正药业   |   永利宝火理财;????修正药业\n",
      "=============\n",
      "????谁有招财猫维权的群？#P2P平台招财猫清盘##招财猫维权##招财猫理财##P2P平台招财猫清盘# ?????\n",
      "招财猫;招财猫理财 ==> 招财猫   |   招财猫理财\n",
      "=============\n",
      "继忆融速配、贝格富后，长红配资也被爆出平台关闭疑似跑路。除了长红配资外，21世纪经济报道记者发现，宝牛e配的网站也已经不能打开。配资指数网站相关评价页面显示，宝牛e配已确认跑路，多名投资人已着手维权。  近期一大批融资平台跑路，不是偶然，事实上，在此之前，有多家所谓配资公司找到我们...全文： http://m.weibo.cn/1394379401/4363860552896069 ?\n",
      "贝格富;宝牛E配;宝牛e配;长红配资;贝格富后;忆融速配 ==> 宝牛e配;长红配资;贝格富后;忆融速配   |   贝格富后;长红配资;忆融速配;宝牛E配;宝牛e配\n",
      "=============\n",
      "请查关联方，万和集团，巨人网络史玉柱和其他的相关联公司利益输送，加大力度催收，抓紧变卖所查封财产，公开总代收，和已催收款项，做到资金透明话，承认团贷网出借人债委会，能够和政府对接，共同研究解决问题，同时通知借款人抓紧还款，如不还款冻结借款人银行账户，支付宝，微信，不让他的孩子上学\n",
      "蚂蚁金服;巨人网络;团贷网;万合集团 ==> 巨人网络;万合集团   |   万合集团;团贷网;巨人网络\n",
      "=============\n",
      "「专家问答」是互金跟投开设的问答栏目，跟投专家每天都将回复来自投友们的问题。大家有什么问题或见解的，欢迎到留言区留下！专家点评1马云投凤凰卫视了，对凤凰金融有利吗？（@罗罗）{IMG:1}安安互金跟投分析师凤凰卫视与阿里巴巴本次属于战略合作，并未提到股权交易。双方会在节目内容、产品、平台以及云计算、大数据等互联网技术方面开展深化合作。目前没有太多迹象表明对凤凰金融直接有利，对于凤凰金融大家考察的重点还是要回归资产真实性与风控能力。2招商贷这下彻底黄了吗？?（@Hazard）{IMG:2}老扎互金跟投分析师根据目前的消息，是的。公安机关已经展开刑事调查，就看最后会被定性为非法集资还是非法吸存了。\n",
      "招商贷;凤凰金融;凤凰卫视凤凰金融;理想宝 ==> 招商贷   |   理想宝;凤凰金融;招商贷\n",
      "=============\n",
      "????@春禾尔东 #祺天优贷[超话]#攘外必先安内！国内的P2P暴雷事件自去年开始频频发生，灾民们已经难以维持生计，几万PP基金的受害者们饿着肚子等钱救命，哪里还有精力顾得上关心与自己遥不可及的贸易战啊？跪求爱民如子的官老爷们，请发发慈悲，真正地关心一下这遍地求救无门的灾民们吧……|\n",
      "PP基金;祺天优贷 ==> 祺天优贷   |   PP基金;祺天优贷\n",
      "=============\n",
      "????团贷网在3月27日前，借款人通过第三方厦门银行正常还款出借人，没有一个人逾期，zf暴雷tdw，造成部分借款人观望不还钱的现状，zf应承担全部责任! tj被抓，团贷网合法合规，应正常运营，为何关闭平台把回款由透明变成不透明统一账户，目的无非是作为zf的提款机!\n",
      "厦门银行;????团贷网;团贷网 ==> nan   |   ????团贷网\n",
      "=============\n",
      "@上海富友支付@深圳市福田区人民检察院深圳福田区中房系咸鱼理财平台联合最大股东北京中房以深圳南联村旧改项目诈骗合计3个多亿，自6.22立案至今，对股东北京中房、平台高管、钱款无一项进行追索，经侦负责人以借款打水漂为理由回复受害群众，望相关监督部门，追查资金去向，还我们血汗钱\n",
      "富友支付;咸鱼理财;咸鱼理财平台 ==> 咸鱼理财平台   |   咸鱼理财平台;富友支付\n",
      "=============\n",
      " {IMG:1} 作者：赵子耀 单位：北京盈科（上海）律师事务所 微信号：Z_z-y_ 日前，据公安部新闻发布会透露，网络借贷、投资理财、消费返利、虚拟货币、金融互助等已成为涉众型经济犯罪重灾区，从2018年至今年第一季度，全国公安机关共立非法集资、传销等涉众型经济犯罪案件近1.9万起，涉案金额4100亿元。 {IMG:2} 这不禁又让人想起了去年P2P的爆雷潮，在高峰时期的6月1日至7月12日的42天内，全国共有108家P2P平台爆雷，相当于每天曝雷2.6家。这些去年爆雷的P2P平台，今年进展怎么样了？ 由于涉及平台太多，我们暂时仅选取三家涉案金额、知名度和投资人均相对较高的平台：善林金融、\n",
      "联璧金融;唐小僧;广群金融;幸福钱庄;善林宝;善林金融;亿宝贷;联壁金融 ==> 唐小僧;广群金融;幸福钱庄;善林宝;善林金融;亿宝贷;联壁金融   |   联璧金融;幸福钱庄;善林宝;广群金融;善林金融;唐小僧;亿宝贷;联壁金融\n",
      "=============\n",
      " {IMG:1} 文|侠女 今天在某论坛上看到有人问：母亲有笔养老金，信*宝、信*财富可以投吗？ 看的真让人揪心。此前，侠女还遇到有出借人在平台出事几个月后，仍然不知道平台已雷。 行业信息的极其不对称性，无疑是投资者投资的最大障碍。 像问题中提到的两个僵尸平台还有很多。 因此，希望小伙伴们在出借之前， 多问问，多看看，不要一时脑热，到头来只剩下无尽的懊悔和一地鸡毛。 近几日网贷行业是 一波未平一波又起，桩桩件件都值得我们深思和分析： 01 20日，宜信普惠怀化分公司因涉嫌非法开展金融业务宣传等非法金融业务活动被查封。 对于这件事，侠女认为需从两方面来看待： 一，该线下门店大查封对宜信的影响。 \n",
      "红岭创投;宜信普惠怀化分公司;宜人贷;团贷网;宜信 ==> 宜信普惠怀化分公司;团贷网   |   团贷网;红岭创投;宜信普惠怀化分公司;宜人贷\n",
      "=============\n",
      "????我推荐了@妖妖灵Sysi 提出的问题&quot;深圳荷包金融信息咨询有限公司集资诈骗为何屡屡投诉无果？&quot;，      我们是金融平台的出借人，出借在：荷包金融（深圳荷包金融信息咨询有限公司）经... http://t.cn/AilHC8FB ?????\n",
      "荷包金融（深圳）;荷包金融;深圳荷包金融信息咨询有限公司;荷包金融app ==> 深圳荷包金融信息咨询有限公司   |   荷包金融\n",
      "=============\n",
      "东方金钰还称，公司将剥离深圳东方金钰网络金融服务有限公司及深圳市东方金钰小额贷款有限公司等与珠宝玉石主业不相关的资产，以进一步夯实公司的主营业务，降低公司的财务负担，提升公司整体盈利水平\n",
      "深圳东方金钰网络金融服务有限公司;深圳市东方金钰小额贷款有限公司;金融服务;小额贷;小额贷款有限公司;东方金钰;金融服务有限公司 ==> nan   |   东方金钰\n",
      "=============\n",
      "近日，网上炒外汇平台跑路事件频发，不少投资人深受其害，更有甚者，企图污蔑恒信国际跑路，以此加大自己平台的交易量，我们极力抵制采取这种不正当手段的公然诋毁，在这里，恒信国际郑重辟谣，恒信国际仍在正常运行中，且正在大力开展天使空投500USD活动，欢迎广大投资者的热心参与\n",
      "炒外汇;炒外汇平台;恒信;恒信国际 ==> nan   |   恒信国际\n",
      "=============\n",
      " ????东方金钰(600086)16日晚间公告，公司近日收到法院执行裁定书，法院裁决冻结、划拨、查封东方金钰、兴龙实业等的银行存款等财产。经核实，该事项涉及公司与中信信托之间的一笔本金约3亿元的债务纠纷，系中信信托知悉此前中睿泰信查封公司部分财产后引起的保护性司法措施。公司已与中信信托初步达成和解意向，后者暂不会申请进一步强制执行措施。 ???? ????\n",
      "中信信托;中睿泰信;兴龙实业;东方金钰 ==> 中睿泰信;兴龙实业;东方金钰   |   中信信托;兴龙实业;东方金钰;中睿泰信\n",
      "=============\n",
      "　　2016年1月13日，安达市民田某等人到公安机关报警称：安达市财富小额贷款公司(以下简称财富公司)非法吸收公众存款，致使大量存款人遭受巨额损失\n",
      "小额贷款;小额贷;小额贷款公司;财富公司 ==> 财富公司   |   财富公司;小额贷款公司\n",
      "=============\n",
      "????#期货交易# #期货黄金原油分析# #国际期货# #外汇期货原油# 点股成金被骗怎么办?在线维权刻不容缓! 　　维权咨询律令援助+V：LLYz110 　　 　　摘要： 　　 　　在点股成金投资可靠吗？老师喊单可信吗？A50指数亏损有黑幕吗？点股成金这个平台是正规的吗？央视和监管部门近几年来频频爆出现货类投资骗 ?????\n",
      "点股成金;国际期货;金投资 ==> nan   |   点股成金\n",
      "=============\n",
      "????深圳小牛钱罐子立案平台，受害人收集了160多个充值平台账号。问题之大，欺骗手段之隐蔽，令人发指。平台账号有很多根本就无支付许可，不具备支付功能。案件涉及全国各地，我们充值后，钱到了中实恒，小牛钱罐子，小牛资本，有的直接到了彭铁、彭钢个人账号。微信支付的全部到了小牛金服账号。 ? 其中小 ?????\n",
      "小牛资本;微信支付;钱罐子;????深圳小牛钱罐子 ==> ????深圳小牛钱罐子   |   小牛资本;????深圳小牛钱罐子\n",
      "=============\n",
      "#永利宝火理财[超话]#//@等待钱保姆快还钱:国家两会有没有解决互联网金融暴雷平台的实质性举措？数亿金融难民如何维权？#通报杭州钱保姆立案进展# @平安滨江 @央视新闻 @中国警方在线 @人民网舆情数据中心 #修正药业# @小崔读书汇 @CCTV焦点访谈 @共青团中央 @人民日报 @人民网 @中国政府网 @中国之声 \n",
      "快还;钱保姆;火理财;永利宝 ==> 钱保姆   |   永利宝;钱保姆;火理财\n",
      "=============\n",
      "<P>日前，有投资者反映银河系平台多融财富出现逾期，记者赶到现场，发现已有警察在公司。同时据员工称公司CEO已经失联。</P><P>《每日经济新闻》记者注意到，多融财富一直对外宣称是上市+国资系平台。2017年12月，南京银河生物技术有限公司(以下简称南京银河生物)对其进行增资，占股比例为33.33%。而南京银河生物是上市公司银河生物（000806,SZ）的全资子公司。</P><P><!--IMG_0--></P><P><!--IMG_1--></P><P><!--H2--><P>员工:联系不上CEO</P><!--/H2--></P><P>记者来到多融财富官网地址，发现其内部办公场所仍有部分\n",
      "多融财富;银河系;南京银河生物技术有限公司 ==> 银河系;南京银河生物技术有限公司   |   南京银河生物技术有限公司;多融财富\n",
      "=============\n",
      " 上一篇 金投手平台一直不给答复 是不想解决问题了吗！？这就是你们处理问题的态度吗！\n",
      "玖富金融;金投手 ==> 金投手   |   玖富金融\n",
      "=============\n",
      "????#君融贷[超话]#P2P欺骗人民罪孽深重，出了问题就推卸责任，金融难民维权就遭到残酷维稳，以没有金融许可证为借口，都是推脱责任的骗局！比如国内微贷网在美国????上市，他就有金融许可证吗？！他在美国因没有金融许可证如果也雷了，你也会说没有金融许可证而推脱责任吗？！ ?????\n",
      "微贷网;君融贷 ==> 君融贷   |   微贷网;君融贷\n",
      "=============\n",
      "????//@宜贷网宜湃网金融难民:上海注册经营地成都的宜贷网p2p中介平台，软银中国资本站台，大股东任海华潜逃海外，背后操纵恶意清盘，发行1亿假标，6.5亿期限错配标，截留挪用出借人资金，致使愈期率高达90%，疯狂收取高达40%。国家网贷整治办下达专项通知(6号文)上海依然不执行监管，成都依然不立案\n",
      "软银;宜贷网(沪);宜贷网;宜湃网 ==> 软银;宜贷网   |   宜贷网;宜湃网;软银\n",
      "=============\n",
      "重磅！红岭创投宣布清盘：一个神话的谢幕http://t.cn/EJq5xcu #红岭创投#将于2021年12月底清盘线上债权资产，未到期部分债权由#红岭控股#全额收购；#投资宝#平台转型线下#私募#；#亿钱贷#平台资产合规，并已上线银行存管，继续保留并争取备案 ?\n",
      "红岭创投;投资宝;红岭控股;亿钱贷 ==> 红岭创投   |   红岭控股;红岭创投\n",
      "=============\n",
      "????#恒昌受害者# #砍头息# #玖富万卡砍头息# #网贷# #p2p# #暴力催收# #恒易融# 都看看，恒昌公司恶性！\n",
      "恒昌;恒易融;玖富万卡 ==> 恒昌;玖富万卡   |   玖富万卡;恒易融;恒昌\n",
      "=============\n",
      "从社会效果上看，成功端掉制售假窝点5个；查处云联惠、那大兴康黑茶商行等传销案两宗，共涉及金额近4千万元，对传销行为形成有效震慑，查处善惠康商行保健品虚假宣传欺诈老人案件，社会反响良好\n",
      "那大兴康黑茶商行;云联;善惠康商行保健品;云联惠 ==> 那大兴康黑茶商行;云联惠   |   善惠康商行保健品;云联惠;那大兴康黑茶商行\n",
      "=============\n",
      "随后哈罗获得了阿里的支持，开启了免押金服务，联手永安行的哈罗平稳度过了共享单车行业的倒闭潮，特别是从2017年后半年开始资本纷纷退出，大量共享单车企业因为资金断裂而不得不倒下，跑路的、暂停业务的、寻求良性退出的比比皆是，而哈啰单车刚好凭借其不错的运营状态，在这段时间内深耕市场，稳定了胜局\n",
      "哈罗;安行;永安行;共享单车;阿里 ==> nan   |   哈罗\n",
      "=============\n"
     ]
    }
   ],
   "source": [
    "for text,entity,key_entity,predict in train_df[['text','entity','key_entity','predict']].values:\n",
    "    print(text[:300])\n",
    "    print(entity,'==>',key_entity,'  |  ',predict)\n",
    "    print('=============')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 161,
   "metadata": {},
   "outputs": [],
   "source": [
    "final_rs = lr.predict(x_inferece_std)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 168,
   "metadata": {},
   "outputs": [],
   "source": [
    "final_rs = [index+(predict_class,) for index,predict_class in zip(test_indexes,final_rs)]\n",
    "rs_dict = {}\n",
    "for id,entity,cls in final_rs:\n",
    "    if id not in rs_dict:\n",
    "        rs_dict[id] = []\n",
    "    if cls==True:\n",
    "        rs_dict[id].append(entity)\n",
    "items = []\n",
    "for id,keys in rs_dict.items():\n",
    "    if len(keys) == 0:\n",
    "        items.append((id,0,np.nan))\n",
    "    else:\n",
    "        items.append((id,1,';'.join(keys)))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 184,
   "metadata": {},
   "outputs": [],
   "source": [
    "rs_df = pd.DataFrame(items,columns=['id','negative','key_entity'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 55,
   "metadata": {},
   "outputs": [],
   "source": [
    "#去重：把更短的去掉\n",
    "import numpy as np\n",
    "def remove_short_entity_by_long(entity_str):\n",
    "    \"\"\"\n",
    "    除去key_entity中同一实体的较短名称\n",
    "    :param entity_str:\n",
    "    :return:\n",
    "    \"\"\"\n",
    "    if not isinstance(entity_str, str):\n",
    "        return entity_str\n",
    "    entities = entity_str.split(';')\n",
    "    states = np.ones(len(entities))\n",
    "    for i, e in enumerate(entities):\n",
    "        for p in entities:\n",
    "            if e in p and len(e) < len(p):\n",
    "                print('removed %s by %s'%(e,p))\n",
    "                states[i] = 0\n",
    "    rs = []\n",
    "    for i, e in enumerate(entities):\n",
    "        if states[i] == 1:\n",
    "            rs.append(e)\n",
    "    rs = ';'.join(rs)\n",
    "    return rs\n",
    "\n",
    "good_remove = False\n",
    "def get_trans_map():\n",
    "    from data_utils.basic_data import load_basic_dataset\n",
    "    train_df = load_basic_dataset('train')\n",
    "    srcs = train_df['entity'].map(lambda x: list(str(x).split(';')))\n",
    "    dests = train_df['key_entity'].map(lambda x: list(str(x).split(';')))\n",
    "    trans_map = {}\n",
    "    both_existed_log = ''\n",
    "    for srcs, dests in list(zip(srcs, dests)):\n",
    "        for src in srcs:\n",
    "            if src == '':\n",
    "                continue\n",
    "            for e in srcs:\n",
    "                if e == '':\n",
    "                    continue\n",
    "                if (src in e or e in src) and e != src:\n",
    "                    if src in dests:\n",
    "                        trans_map[src + '-' + e] = src\n",
    "                        trans_map[e + '-' + src] = src\n",
    "                    if e in dests:\n",
    "                        trans_map[src + '-' + e] = e\n",
    "                        trans_map[e + '-' + src] = e\n",
    "                    if good_remove:\n",
    "                        if src in dests and e in dests:\n",
    "                            trans_map[src + '-' + e] = e + ';' + src\n",
    "                            trans_map[e + '-' + src] = e + ';' + src\n",
    "                            both_existed_log += e + ';' + src\n",
    "                            print('both existsed:', e + ';' + src)\n",
    "    return trans_map\n",
    "def trans_keys(trans_map, entity_str):\n",
    "    if not isinstance(entity_str, str):\n",
    "        return entity_str\n",
    "    es = list(filter(lambda x: str(x).strip() != '', entity_str.split(';')))\n",
    "    rs = set()\n",
    "    for e in es:\n",
    "        finded = False\n",
    "        for y in es:\n",
    "            if e + '-' + y in trans_map and e != y:\n",
    "                rs.add(trans_map[e + '-' + y])\n",
    "                finded = True\n",
    "        if not finded:\n",
    "            rs.add(e)\n",
    "    if len(rs) > 0:\n",
    "        rs = ';'.join(list(rs))\n",
    "    else:\n",
    "        rs = np.nan\n",
    "    return rs\n",
    "trans_map = get_trans_map()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 174,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "removed 华赢凯来 by 北京华赢凯来资产管理有限公司\n",
      "removed 人人盈 by 人人盈理财\n",
      "removed 意隆财富 by 上海意隆财富投资管理有限公司\n",
      "removed 团贷 by 团贷网\n",
      "removed 盛达 by 盛达投资\n",
      "removed 信和财富 by ????信和财富\n",
      "removed 天合 by 天合联盟\n",
      "removed 温商贷 by 浙江温商贷\n",
      "removed 融宝网 by 陕西融宝网信息技术有限公司\n",
      "removed 东方恒正 by 北京东方恒正科贸有限公司\n",
      "removed 惠投资 by 广州万惠投资管理有限公司\n",
      "removed 及贷 by 及贷分期\n",
      "removed 融乐 by 信融乐\n",
      "removed i财富 by i财富因\n",
      "removed 红岭创投 by ????红岭创投\n",
      "removed 汇凯鑫 by 深圳市汇凯鑫投资管理有限公司\n",
      "removed 汇凯鑫 by 汇凯鑫创投\n",
      "removed 永利宝 by 上海永利宝\n",
      "removed 慧理财 by 智慧理财\n",
      "removed 天玑汇富 by 深圳天玑汇富互联网金融服务有限公司\n",
      "removed 优优 by 财优优\n",
      "removed 顺发投资 by 云南顺发投资管理有限公司\n",
      "removed 顺发 by 云南顺发投资管理有限公司\n",
      "removed 顺发 by 顺发投资\n",
      "removed 鑫合汇 by 杭州鑫合汇\n",
      "removed 石油化工 by 深圳石油化工交易所\n",
      "removed 聚金融 by 深圳宜聚金融互联网服务有限公司\n",
      "removed 汇通 by 诚汇通\n",
      "removed 融金汇 by 银科控股上海银天下(天津融金汇银上海浦东分公司)\n",
      "removed 人人贷 by 人人贷（友信）\n",
      "removed 钱包 by 小豆钱包\n",
      "removed 海华 by 上海华通铂银交易市场\n",
      "removed 北京金银岛众商投资中心 by 北京金银岛众商投资中心（有限合伙）\n",
      "removed 中能国投 by 北京中能国投投资管理有限公司\n",
      "removed 金米米 by 金米米理财\n",
      "removed 国美 by 国美在线金融\n",
      "removed 国美 by 国美在线\n",
      "removed 国美在线 by 国美在线金融\n",
      "removed 小沙僧理财 by 上海宜勇资产管理有限公司（小沙僧理财）\n",
      "removed 微积金 by 微积金互联网金融服务（上海）有限公司（微积金）\n",
      "removed 盛达 by 盛达投资\n",
      "removed yes金融 by yes金融网\n",
      "removed 人人行 by 人人行科技股份有限公司\n",
      "removed 安心 by 安心PLUS\n",
      "removed 安心 by 安心X\n",
      "removed 安心 by 安心计划\n",
      "removed 饿了么 by 饿了么未来餐厅\n",
      "removed 投资宝 by 红岭投资宝\n",
      "removed 佰亿猫 by 深圳佰亿猫\n",
      "removed 中益信 by 中益信金融\n",
      "removed 邦理 by 邦邦理财\n",
      "removed 海航交所 by 前海航交所\n",
      "removed 易贷 by 易贷在线\n",
      "removed 聚财 by 点滴聚财\n",
      "removed 点滴聚 by 点滴聚财\n",
      "removed 翡翠岛 by 翡翠岛理财\n",
      "removed 乐视 by 乐视金融\n",
      "removed 道理财 by 华融道理财\n",
      "removed 华融道 by 华融道理财\n",
      "removed 国融证券 by 国融证券?????\n",
      "removed 宜信 by 宜信惠民投资管理\n",
      "removed 宜信 by 宜信普惠信息咨询有限公司\n",
      "removed 点金 by 普点金服\n",
      "removed 国厚资产 by 深圳市国厚资产管理有限公司\n",
      "removed 发财猪 by 深圳发财猪金融服务有限公司\n",
      "removed 融宝 by 融宝贷\n",
      "removed 华夏万家 by 华夏万家金融服务外包有限公司\n",
      "removed 中金 by 中金贷\n",
      "removed 新华金典 by 新华金典财富管理股份有限公司\n",
      "removed 富宝 by 广富宝\n",
      "removed 快点理财 by 上海快点理财平台\n",
      "removed 华夏 by 华夏信\n",
      "removed 恒信 by 恒信国际\n",
      "removed 华夏 by 华夏信\n",
      "removed 红星 by 红星美凯龙\n",
      "removed 得宝理 by 得宝理财\n",
      "removed 农金 by 农金宝\n",
      "removed 资易贷 by 海淀区小资钱包公司(资易贷平台)\n",
      "removed 小资钱包 by 海淀区小资钱包公司(资易贷平台)\n",
      "removed 小牛新财富 by 小牛新财富管理有限公司天津分公司\n",
      "removed 小牛投资 by 深圳市小牛投资管理有限公司\n",
      "removed 乐投 by 乐投财富\n",
      "removed 乐投 by 乐投财富投资管理有限公司\n",
      "removed 乐投财富 by 乐投财富投资管理有限公司\n",
      "removed 瑞宝 by 东瑞宝力\n",
      "removed 招商银行 by ????招商银行\n",
      "removed 海晟垣公司 by 上海晟垣公司\n",
      "removed 财佰通 by 财佰通科技有限公司\n",
      "removed 好易贷 by 神州好易贷\n",
      "removed 贷网 by 爱贷网\n",
      "removed 云财富 by 云云财富\n",
      "removed 人人爱家 by 人人爱家金融平台\n",
      "removed 融宝 by 真融宝\n",
      "removed 红星 by 红星美凯龙\n",
      "removed 红星 by 红星美凯龙\n",
      "removed 江苏绿能宝融资租赁有限公司 by 江苏绿能宝融资租赁有限公司（SPI全资子公司）\n",
      "removed 榕树 by 榕树贷款\n",
      "removed 美银 by 美银金融\n",
      "removed 有家 by 快有家\n",
      "removed 壹佰金融 by 深圳壹佰金融服务有限公司\n",
      "removed 天天乐 by 51天天乐购\n",
      "removed 鑫富宝 by 国寿鑫富宝\n",
      "removed 聚信金 by 聚信金融\n",
      "removed 慧融财富 by 和慧融财富\n",
      "removed 能贷 by 车能贷\n",
      "removed 利创投 by 德利创投\n",
      "removed 投融长富 by 投融长富集团\n",
      "removed 今金贷 by 兰州今金贷\n",
      "removed 联璧金融 by 联璧金融 \n",
      "removed 拍拍贷 by 陆金服拍拍贷\n",
      "removed 信金融 by 亿信金融\n",
      "removed 红岭金服 by 红岭金服 ?????\n",
      "removed 兴龙实业 by 东方金钰控股股东云南兴龙实业有限公司\n",
      "removed 东方金钰 by 东方金钰控股股东云南兴龙实业有限公司\n",
      "removed 想宝 by 理想宝\n",
      "removed 泰金服 by 元泰金服\n",
      "removed 智投 by 财智投资\n",
      "removed 智投 by 智投资\n",
      "removed 智投资 by 财智投资\n",
      "removed 荷包金融 by 深圳市荷包金融理财公司\n",
      "removed 港金融 by 易港金融\n",
      "removed 聚宝 by 惠农聚宝\n",
      "removed 资易贷 by 海淀区小资钱包公司(资易贷平台)\n",
      "removed 小资钱包 by 海淀区小资钱包公司(资易贷平台)\n",
      "removed 微贷 by 郝美微贷\n",
      "removed 好借 by 好借存\n",
      "removed 永利宝 by 上海永利宝\n",
      "removed 豫商贷 by 河南豫商贷网络科技有限公司\n",
      "removed 金钰珠宝 by 深圳市东方金钰珠宝实业有限公司\n",
      "removed 极速贷 by 中和金服极速贷\n",
      "removed 钱贷 by 向钱贷\n",
      "removed 邦理 by 邦邦理财\n",
      "removed 利魔方 by 返利魔方\n",
      "removed 富友支付 by 上海富友支付服务股份有限公司\n",
      "removed 抓钱猫 by 抓钱猫金融\n",
      "removed 芒果金融 by 芒果金融理财\n",
      "removed 钱宝 by 瑞钱宝\n",
      "removed 抓钱猫 by p2p抓钱猫\n",
      "removed 蓝天格锐 by 蓝天格锐电子科技有限公司\n",
      "removed 蓝天格锐 by 天津蓝天格锐电子科技有限公司\n",
      "removed 蓝天格锐电子科技有限公司 by 天津蓝天格锐电子科技有限公司\n",
      "removed 天格 by 蓝天格锐\n",
      "removed 天格 by 蓝天格锐电子科技有限公司\n",
      "removed 天格 by 天津蓝天格锐电子科技有限公司\n",
      "removed 小额贷 by 广州市盛融小额贷款股份有限公司\n",
      "removed 中金投 by 中金投资\n",
      "removed 百度金融 by 百度金融有钱花\n",
      "removed 高通盛融 by 高通盛融（北京）投资基金管理有限公司\n",
      "removed 高通盛融 by 高通盛融财富投资集团有限公司\n",
      "removed 达飞云贷 by ????达飞云贷\n",
      "removed 银票网 by 上海鸿翔银票网互联网金融信息服务有限公司\n",
      "removed 邦理 by 邦邦理财\n",
      "removed 华融道 by 华融道平台\n",
      "removed 聚财猫 by ????聚财猫\n",
      "removed 泰金服 by 元泰金服\n",
      "removed 魔袋金融 by 上海魔袋金融\n",
      "removed 有融网 by 浙江有融网\n",
      "removed 智融会 by ????智融会\n",
      "removed 鼎金投资 by 北京鼎金投资\n",
      "removed 普惠信贷 by 平安普惠信贷公司\n",
      "removed 汇富 by 汇富帮\n",
      "removed 金投 by 微金投\n",
      "removed 能贷 by 车能贷\n",
      "removed 天合 by 天合联盟\n",
      "removed 利创投 by 德利创投\n",
      "removed 能贷 by 车能贷\n",
      "removed 贷网 by 爱贷网\n",
      "removed 优品聚众 by 优品聚众科技资产\n",
      "removed 中云 by 中云动力\n",
      "removed 中盛投资 by 嘉峪关中盛投资有限责任公司\n",
      "removed 信和财富 by ????信和财富\n",
      "removed 汇通 by 汇通钱箱\n",
      "removed 豫商贷 by 河南豫商贷网络科技有限公司\n",
      "removed 善林 by 善林金融\n",
      "removed 国融 by 前海国融\n",
      "removed 国融 by 国融金控\n",
      "removed 泰金服 by 元泰金服\n",
      "removed 联合金融 by 联合金融机构\n",
      "removed hpa by hpa全球健康\n",
      "removed 全球健康 by hpa全球健康\n",
      "removed 世联行投资 by 天津盛世联行投资管理有限公司\n",
      "removed 中金投 by 中金投资\n",
      "removed e周行 by e周行资金\n",
      "removed 贷网 by 爱贷网\n",
      "removed 丰收宝 by 51丰收宝\n",
      "removed 及贷 by 及贷分期\n",
      "removed 池州万家 by 池州万家金融服务有限公司\n",
      "removed 饿了么 by 饿了么未来餐厅\n",
      "removed 口贷网 by ????口贷网\n",
      "removed 掌盈金服 by  掌盈金服\n",
      "removed 善林金融 by 善林金融公司\n",
      "removed 善林财富 by 广群金融善林财富\n",
      "removed 贝格富 by 海南贝格富科技有限公司\n",
      "removed 易捷金融 by 成都易捷金融\n",
      "removed 汇富 by 汇富帮\n",
      "removed 天合 by 天合联盟\n",
      "removed 众投 by 创新众投\n",
      "removed 信汇通 by 云信汇通\n",
      "removed 平安银行 by 上海平安银行\n",
      "removed 小钱 by 小钱小乐\n",
      "removed 坚固环球 by MS坚固环球\n",
      "removed 钱包 by 小豆钱包\n",
      "removed 聚金 by 聚金投资\n",
      "removed 财华国际 by 英国财华国际期货（香港）有限公司集团\n",
      "removed 财华国际 by 中国财华国际期货（香港）有限公司\n",
      "removed 乐钱 by 乐钱宝\n",
      "removed 宜贷网 by 宜贷网  ?????\n",
      "removed 能贷 by 车能贷\n",
      "removed 泰金服 by 元泰金服\n",
      "removed 科创集团 by 中科创集团\n",
      "removed 富友支付 by 北京鼎聚恒企业管理有限公司 上海富友支付有限公司 \n",
      "removed 牛牛通宝 by 圳市牛牛通宝科技文化产业有限公司\n",
      "removed 富友支付 by 上海富友支付服务股份有限公司\n",
      "removed 菠菜理财 by 菠菜理财金融平台\n",
      "removed 雄鑫投资有限公司 by 隆德县雄鑫投资有限公司\n",
      "removed 盐商集团 by 上海盐商集团有限公司\n",
      "removed 国融 by 国融宝\n",
      "removed 融宝 by 国融宝\n",
      "removed 比特矿 by 比特矿山\n",
      "removed 及贷 by 及贷分期\n",
      "removed 杉德 by 杉德支付网络服务发展有限公司\n",
      "removed 银生宝 by 上海银生宝电子支付服务有限公司\n",
      "removed 众投 by 众投在线\n",
      "removed 友信 by 友信贷款\n",
      "removed 微贷 by 微贷网\n",
      "removed 小额贷 by 鲈乡农村小额贷款股份有限公司\n",
      "removed 中银投资 by 大同市南郊区中银投资担保有限公司\n",
      "removed 易贷金融网 by 股易贷金融网\n",
      "removed 股易贷 by 股易贷金融网\n",
      "removed 易贷 by 易贷金融网\n",
      "removed 易贷 by 股易贷\n",
      "removed 易贷 by 股易贷金融网\n",
      "removed 信和财富 by 信和财富文登分公司\n",
      "removed 智投 by 财智投资\n",
      "removed 智投 by 智投资\n",
      "removed 智投资 by 财智投资\n",
      "removed 创鑫 by 创鑫贷\n",
      "removed 东方金钰 by 深圳东方金钰珠宝\n",
      "removed 中金 by 中金贷\n",
      "removed 鼎财富 by 问鼎财富\n",
      "removed 易贷 by 车易贷\n",
      "removed 温商贷 by ????温商贷\n",
      "removed 草根 by 草根投资\n",
      "removed 玖富万卡 by 玖富万卡套路贷\n",
      "removed 醉美投资管理有限公司 by 杭州醉美投资管理有限公司\n",
      "removed 普惠投资 by 深圳小牛普惠投资管理有限公司\n",
      "removed 中金 by 中金金融\n",
      "removed 惠盈理财 by 网贷平台惠盈理财\n",
      "removed 牛板金 by 杭州江干牛板金\n",
      "removed 信和财富 by ????信和财富\n",
      "removed 米贷 by 玉米贷\n",
      "removed 惠投资 by 广州万惠投资管理有限公司\n",
      "removed 及贷 by 及贷分期\n",
      "removed 中金 by 中金贷\n",
      "removed 恒瑞财富 by 恒瑞财富网\n",
      "removed 汇通 by 鼎亨汇通\n",
      "removed 咸鱼 by 咸鱼理财\n",
      "removed 金投 by 微金投\n",
      "removed 冠群 by 冠群驰骋投资管理(北京)有限公司\n",
      "removed 魔袋金融 by 上海魔袋金融\n",
      "removed 微贷 by 微贷网\n",
      "removed 金钰珠宝 by 深圳市东方金钰珠宝实业有限公司\n",
      "removed 国盈投资 by 中润国盈投资(集团)\n",
      "removed 抱财网 by  抱财网\n",
      "removed 易极付 by ????重庆易极付公司\n",
      "removed 国盈投资 by 中润国盈投资(集团)\n",
      "removed 国盈 by 国盈投资\n",
      "removed 国盈 by 中润国盈投资(集团)\n",
      "removed 华赢贷 by 华赢贷（杭品生活）\n",
      "removed 优贷 by 好优贷\n",
      "removed 我贷 by 你我贷\n",
      "removed 优信贷 by 优信贷款\n",
      "removed 中信资本 by ????中信资本\n",
      "removed 天合 by 天合联盟\n",
      "removed 宜贷 by 宜贷网\n",
      "removed 一点车贷 by ????一点车贷\n",
      "removed 恒信 by 恒信国际\n",
      "removed 小钱 by 小钱小乐\n",
      "removed 乐投 by 乐投财富\n",
      "removed 京东 by 京东商城\n",
      "removed 华赢凯来 by 北京华赢凯来资产管理有限公司\n",
      "removed 华夏 by 华夏信\n",
      "removed 华赢宝 by 华赢宝公司\n",
      "removed 安盈智选3期 by 安盈智选3期债权资产理财计划\n",
      "removed 云联惠 by 湖南云联惠汽车服务有限公司\n",
      "removed 翡翠岛 by 翡翠岛理财\n",
      "removed 恒信 by 恒信国际\n",
      "removed 囿文美丽汇 by 北京囿文美丽汇健康管理有限责任公司\n",
      "removed okex by okex交易所\n",
      "removed 小牛新财富 by 小牛新财富管理有限公司\n",
      "removed 邑民金融 by 邑民金融平台\n",
      "removed 智付 by 智付集团\n",
      "removed 邑民金融 by 邑民金融平台\n",
      "removed 海星 by 海星二元期权\n",
      "removed 二元期权 by 海星二元期权\n",
      "removed 信和财富 by  信和财富\n",
      "removed 中金物联 by 中金物联商品交易中心\n",
      "removed 中润天下 by 中润天下企业管理中心\n",
      "removed 众投 by 创新众投\n",
      "removed 先花花 by 先花花网贷\n",
      "removed 花生米富 by 花生米富网贷\n",
      "removed 智投 by 智投富登\n",
      "removed 储信 by 储信理财\n",
      "removed 聚宝 by 山水聚宝\n",
      "removed 京东 by 京东商城\n",
      "removed 泓樽付 by 泓樽付公司\n",
      "removed 华夏 by 华夏信\n",
      "removed 金财富 by 添金财富联盟\n",
      "removed 君盛投资 by 深圳君盛投资\n",
      "removed 众盈 by 众盈资本\n",
      "removed 金投 by 亚洲掘金投资管理(北京)有限公司\n",
      "removed 海航交所 by 前海航交所\n",
      "removed 华夏万家 by 华夏万家金服\n",
      "removed 永利宝 by 永利宝火\n",
      "removed 魔袋金融 by 上海魔袋金融\n",
      "removed 泛亚有色金属交易所 by 云南昆明泛亚有色金属交易所\n",
      "removed 盈通投资 by 鼎盛盈通投资咨询（北京）有限公司\n",
      "removed 爱钱帮 by 爱钱帮 \n",
      "removed 贝宝 by e贝宝\n",
      "removed 东方正捷 by 东方正捷河北亿创\n",
      "removed 金储宝 by 杭州金储宝\n",
      "removed 魔袋金融 by 上海魔袋金融\n",
      "removed 城城理财 by 浙江城城理财\n",
      "removed 有融网 by 浙江有融网\n",
      "removed 趣贷 by 趣贷网\n",
      "removed 荷包金融 by ????荷包金融\n",
      "removed 利民网 by 关于深圳利民网金融信息服务有限公司\n",
      "removed 投之家 by 深圳投之家金融信息服务有限公司\n",
      "removed 温商贷 by 浙江温商贷\n",
      "removed 天风天财 by 天风天财金融信息服务有限公司\n",
      "removed 金瑞期货 by 金瑞期货.\n",
      "removed 善林金融 by 善林金融威海分公司\n",
      "removed 汇通投资 by 北京百旺汇通投资管理有限公司\n",
      "removed 洋钱罐 by 洋钱罐借款\n",
      "removed 和信贷 by 和信贷平台\n",
      "removed 益金服 by 普益金服\n",
      "removed 环球国际 by 上海（香港环球国际）\n",
      "removed 环球 by 环球国际\n",
      "removed 环球 by 上海（香港环球国际）\n",
      "removed 有家 by 快有家\n",
      "removed 贷网 by 互贷网\n",
      "removed 昌龙运通 by 昌龙运通（北京）股权投资基金管理有限公司\n",
      "removed 安心贷 by 阳光安心贷\n",
      "removed 来贷 by 我来贷\n",
      "removed 上海捷量 by 上海捷量投资管理有限公司\n",
      "removed 华融道 by 上海华融道\n",
      "removed 好牛 by 好牛168\n",
      "removed 智投 by 财智投资\n",
      "removed 智投 by 智投资\n",
      "removed 智投资 by 财智投资\n",
      "removed 恒信 by 恒信国际\n",
      "removed 文交所 by 湖南文交所\n",
      "removed 银都控股 by ????银都控股\n",
      "removed 金联储 by 金联储金服\n",
      "removed 聚财猫 by ????聚财猫\n",
      "removed 众财富 by 掌众财富\n",
      "removed 惠投资 by 松原市世光普惠投资公司\n",
      "removed 惠投资 by 普惠投资\n",
      "removed 普惠投资 by 松原市世光普惠投资公司\n",
      "removed 聚宝 by 聚宝阁\n",
      "removed 钱贷 by 向钱贷\n",
      "removed 小沙僧理财 by 上海宜勇资产管理有限公司（小沙僧理财）\n",
      "removed 微积金 by 微积金互联网金融服务（上海）有限公司（微积金）\n",
      "removed 盛进金融 by 深圳盛进金融\n",
      "removed 汇富 by 天玑汇富\n",
      "removed 深圳佰亿 by 深圳佰亿猫\n",
      "removed 佰亿猫 by 深圳佰亿猫\n",
      "removed 中金 by 中金贷\n",
      "removed 融网 by 玖融网\n",
      "removed 平安金融 by 平安金融公司\n",
      "removed 壹佰金融 by 深圳壹佰金融服务有限公司\n",
      "removed 财佰通 by 财佰通科技有限公司\n",
      "removed 卡卡贷 by ????卡卡贷\n",
      "removed 融乐 by 信融乐\n",
      "removed 昌龙运通 by 昌龙运通（北京）股权投资基金管理有限公司\n",
      "removed 来贷 by 我来贷\n",
      "removed 问鼎财富 by 问鼎财富俱乐部\n",
      "removed 鼎财富 by 问鼎财富\n",
      "removed 鼎财富 by 问鼎财富俱乐部\n",
      "removed 国融 by 前海国融\n",
      "removed 国融 by 国融金控\n",
      "removed 和财富 by 昌和财富\n",
      "removed 正宇 by 正宇控股\n",
      "removed 鼎财富 by 问鼎财富\n",
      "removed 软银 by 软银中国\n",
      "removed 平安银行 by 上海平安银行\n",
      "removed 投融长富 by 投融长富集团\n",
      "removed 来贷 by 车来贷\n",
      "removed 钱富宝 by 钱富宝Pro\n",
      "removed e租宝 by 有e租宝\n",
      "removed 盈通投资 by 鼎盛盈通投资咨询（北京）有限公司\n",
      "removed 汇财富 by 长汇财富\n",
      "removed 温商贷 by 浙温商贷\n",
      "removed 贷网 by 现贷网\n",
      "removed 融乐 by 信融乐\n",
      "removed 梧桐树 by 北京梧桐树金融信息服务有限公司\n",
      "removed 富宝 by 永富宝\n",
      "removed 众投 by 赢众投\n",
      "removed 有钱花 by 有钱花（百度金融）\n",
      "removed 小贷 by 亲亲小贷\n",
      "removed 菠菜理财 by 菠菜理财 ?????\n",
      "removed 荷包金融 by 深圳荷包金融P2P\n",
      "removed 资和信 by 资和信电子支付有限公司\n",
      "removed 和信 by 资和信\n",
      "removed 和信 by 资和信电子支付有限公司\n",
      "removed 反波胆 by 反波胆理财\n",
      "removed 反波胆 by 足球反波胆\n",
      "removed 丰盛金 by 丰盛金融投资有限公司\n",
      "removed 金米米 by 金米米理财\n",
      "removed 海博 by 上海博节金融信息服务有限公司\n",
      "removed 储信 by 储信理财\n",
      "removed 乐购商城 by 优尚乐购商城\n",
      "removed 富宝 by 财富宝\n",
      "removed 中房联合集团前海置业 by 中房联合集团前海置业投资有限公司\n",
      "removed 五星财富 by 五星财富平台\n",
      "removed 道理财 by 城道理财\n",
      "removed 融融 by 钱融融\n",
      "removed 鼎信 by 鼎信贷\n",
      "removed 陆金所 by ????平安普惠陆金所\n",
      "removed 玖富万卡 by 玖富万卡 闪银\n",
      "removed 平安普惠 by ????平安普惠陆金所\n",
      "removed 京东 by 南京东鼎楼宇商会\n",
      "removed 红星美凯龙 by 南京红星美凯龙家具商会\n",
      "removed 信和财富 by ????信和财富\n",
      "removed 中金 by 中金贷\n",
      "removed 点金 by 多点金服\n",
      "removed 汇通 by 利丰汇通\n",
      "removed 金投 by 微金投\n",
      "removed 聚财 by 聚财宝\n",
      "removed 荷包金融 by 深圳荷包金融\n",
      "removed 邦金服 by 资邦金服\n",
      "removed 点滴身边 by 点滴身边网络技术（北京）有限公司\n",
      "removed 趣钱 by e趣钱袋\n",
      "removed 华誉 by 香港华誉环亚外汇\n",
      "removed 华誉 by 华誉环亚\n",
      "removed 华誉环亚 by 香港华誉环亚外汇\n",
      "removed 元泰金服 by 杭州元泰金服\n",
      "removed 泰金服 by 元泰金服\n",
      "removed 泰金服 by 杭州元泰金服\n",
      "removed 发财猪 by 发财猪理财\n",
      "removed 万科 by 万科借鹏金\n",
      "removed 宜贷 by 宜贷网\n",
      "removed hpa by hpa全球健康\n",
      "removed 全球健康 by hpa全球健康\n",
      "removed 理财咖 by ????理财咖\n",
      "removed 我贷 by 你我贷\n",
      "removed 小牛新财富 by 小牛新财富管理有限公司\n",
      "removed 小牛资本 by 小牛资本集团\n",
      "removed 和财富 by 三和财富\n",
      "removed 土豆 by 土豆金服\n",
      "removed 爱投易贷 by 安徽爱投易贷\n",
      "removed 海华 by 上海华通铂银交易市场\n",
      "removed 融网 by 玖融网\n",
      "removed 金豆包 by  金豆包\n",
      "removed 文交所 by 湖南文交所\n",
      "removed 中信资本 by 中信资本深圳资产管理有限公司\n",
      "removed 钱宝网 by 南京钱宝网\n",
      "removed 宝象金融 by ????上海宝象金融\n",
      "removed 众投 by 众投在线\n",
      "removed 金瑞期货 by 金瑞期货.\n",
      "removed 黎明国际 by 黎明国际工贸\n",
      "removed 聚宝 by 山水聚宝\n",
      "removed 中金 by 中金珠宝\n",
      "removed 陨石地带 by 北京陨石地带信息技术有限公司\n",
      "removed 荷包金融 by 深圳荷包金融\n",
      "removed 贝格富 by 海南贝格富科技有限公司\n",
      "removed 皖通银隆银制品贸易有限公司 by 安徽省皖通银隆银制品贸易有限公司\n",
      "removed 草根投资 by ????草根投资\n",
      "removed 易贷 by 易贷宝\n",
      "removed 玖富万卡 by 玖富万卡套路贷\n",
      "removed 易贷 by 易贷在线\n",
      "removed 金信网 by 金信网信\n",
      "removed 信和财富 by ????信和财富\n",
      "removed 360贷贷 by 360贷贷网\n",
      "removed 优理财 by 浙优理财公司\n",
      "removed 浙优民间资本理财服务有限公司 by 杭州浙优民间资本理财服务有限公司\n",
      "removed 聚金汇 by 聚金汇财\n",
      "removed 聚金 by 聚金汇\n",
      "removed 聚金 by 聚金汇财\n",
      "removed 中融嘉盛 by 中融嘉盛投资管理有限公司\n",
      "removed 易通 by 三三易通商城\n",
      "removed 易通 by 易通商城\n",
      "removed 易通商城 by 三三易通商城\n",
      "removed 富乐投资 by 海南富乐投资有限公司\n",
      "removed 中金 by 中金金融\n",
      "removed 中晋 by 中晋系\n",
      "removed 有家 by 快有家\n",
      "removed 商易贷 by 河南商易贷电子商务有限公司\n",
      "removed 众财富 by 掌众财富\n",
      "removed 能贷 by 车能贷\n",
      "removed 信广立诚贷 by 信广立诚贷（北京）科技有限公司\n",
      "removed 浙联储 by 宁波浙联储金融服务外包有限公司\n",
      "removed 团贷网 by 团贷网??\n",
      "removed 金信网 by 金信网信\n",
      "removed 联璧金融 by 联璧金融 \n",
      "removed 中润天下 by 中润天下企业管理中心\n",
      "removed i财 by i财富\n",
      "removed 微创金服 by 小野鸡微创金服\n",
      "removed 鼎财富 by 问鼎财富\n",
      "removed 泛亚 by 泛亚有色金属交易所股份有限公司\n",
      "removed 幸福新世界 by 黄山幸福新世界有限公司\n",
      "removed 永利宝 by 上海永利宝\n",
      "removed 益金服 by 普益金服\n",
      "removed 聚宝 by 惠农聚宝\n",
      "removed 金投 by 微金投\n",
      "removed 优贷 by 最优贷\n",
      "removed 中大财富 by 广州中大财富\n",
      "removed 蓝天格锐 by 蓝天格锐电子科技有限公司\n",
      "removed 中再融 by 中再融（北京）科技有限公司\n",
      "removed 恒昌利通投资 by 北京恒昌利通投资管理有限公司\n",
      "removed 文交所 by 南京文交所\n",
      "removed 易贷 by 众易贷\n",
      "removed 阿朋贷 by 阿朋贷信息科技（北京）有限公司\n",
      "removed 微积金 by 微积金互联网金融服务(上海)有限公司\n",
      "removed 红星 by 红星美凯龙\n",
      "removed 红星 by 信阳红星美凯龙（万家荟）\n",
      "removed 红星美凯龙 by 信阳红星美凯龙（万家荟）\n",
      "removed 玖富普惠 by 北京玖富普惠普惠信息技术有限\n",
      "removed 玖富万卡 by 新疆玖富万卡信息技术有限公司????\n",
      "removed 易贷 by 68易贷\n",
      "removed 华夏万家 by 华夏万家金服\n",
      "removed 荷包金融 by 深圳荷包金融\n",
      "removed 指南针 by 指南针大宗\n",
      "removed 360配资 by 牛360配资\n",
      "removed 牛配资 by 鼎牛配资\n",
      "removed 步步盈 by 步步盈配\n",
      "removed 有家 by 快有家租房网\n",
      "removed 有家 by 快有家\n",
      "removed 快有家 by 快有家租房网\n",
      "removed 瑞银 by 中赢瑞银\n",
      "removed 金财富 by 添金财富联盟\n",
      "removed 聚财 by 聚财富\n",
      "removed 中南信达 by 中南信达金融\n",
      "removed 中南信达 by 中南信达（北京）金融服务外包有限公司\n",
      "removed 泰金服 by 元泰金服\n",
      "removed 储信 by 储信理财\n",
      "removed 有家 by 快有家租房网\n",
      "removed 有家 by 快有家\n",
      "removed 快有家 by 快有家租房网\n",
      "removed 汇富帮 by 天津汇富帮信息科技有限公司\n",
      "removed 汇富 by 汇富帮\n",
      "removed 汇富 by 天津汇富帮信息科技有限公司\n",
      "removed fomo3d by fomo3d资金盘游戏\n",
      "removed 贵金属 by 吉林贵金属交易中心\n",
      "removed 贵金属 by 吉林贵金属\n",
      "removed 吉林贵金属 by 吉林贵金属交易中心\n",
      "removed 88财富 by  88财富网\n",
      "removed 鼎财富 by 问鼎财富\n",
      "removed 善心汇 by 深圳市善心汇文化传播有限公司\n",
      "removed 聚胜财富 by 聚胜财富投资有限公司\n",
      "removed 华夏万家 by 华夏万家金服\n",
      "removed 易捷金融 by 成都易捷金融\n",
      "removed 云联惠 by 广东云联惠网络科技有限公司\n",
      "removed 瑞银信 by 瑞银信广西分公司\n",
      "removed 瑞银 by 瑞银信\n",
      "removed 瑞银 by 瑞银信广西分公司\n",
      "removed 易贷 by 68易贷\n",
      "removed 京东 by 京东商城\n",
      "removed 恒宇 by 恒宇天泽\n",
      "removed 钱包 by 小豆钱包\n",
      "removed 华赢凯来 by 北京华赢凯来资产管理有限公司\n",
      "removed 银狐财 by 银狐财富\n",
      "removed 聚宝 by 聚宝金融\n",
      "removed 耀盛投资 by 耀盛投资管理集团\n",
      "removed 有家 by 快有家\n",
      "removed 睿鑫宝 by 睿鑫宝rxbc\n",
      "removed 阳光易贷 by 阳光易贷公司\n",
      "removed 融金汇 by 天津融金汇银贵金属经营有限公司上海浦东分公司(上海银天下)\n",
      "removed 融信贷 by 中国融信贷\n",
      "removed 国融 by 中国融信贷\n",
      "removed 有家 by 快有家\n",
      "removed 魔袋金融 by 上海魔袋金融\n",
      "removed 陨石地带 by 北京陨石地带信息技术有限公司\n",
      "removed 龙炎 by 龙炎集团\n",
      "removed 聚宝 by 聚宝阁\n",
      "removed 捷信金融 by 捷信金融公司\n",
      "removed 发财猪 by 发财猪理财\n",
      "removed 红星 by 红星美凯龙\n",
      "removed 五星财富 by 深圳五星财富互联网金融服务有限公司\n",
      "removed 万宏源证券 by 申万宏源证券\n",
      "removed 申万宏源 by 申万宏源证券\n",
      "removed 金储宝 by 杭州金储宝资产管理有限公司\n",
      "removed 荷包金融 by ????荷包金融\n",
      "removed 海贷 by 金海贷\n",
      "removed 兴龙实业 by 云南兴龙实业有限公司\n",
      "removed 乐投 by 乐投创富\n",
      "removed 信和财富 by ????信和财富\n",
      "removed 泰金服 by 元泰金服\n",
      "removed 联璧金融 by 联璧金融 \n",
      "removed 玖富 by 人人贷玖富金融\n",
      "removed 人人贷 by 人人贷玖富金融\n",
      "removed 储信 by 储信资产管理（上海）有限公司\n",
      "removed 储信 by 储信理财\n",
      "removed 有家 by 快有家\n",
      "removed 合拍在线 by 深圳市合拍在线互联网金融服务有限公司\n",
      "removed 中金 by 中金贷\n",
      "removed 银易贷 by 江苏银易贷网络科技有限公司\n",
      "removed 众投 by 赢众投\n",
      "removed 善林金融 by 善林金融信息服务有限公司\n",
      "removed 优贷 by 好优贷\n",
      "removed 泰金服 by 元泰金服\n",
      "removed 安心贷 by 阳光安心贷\n",
      "removed 菠菜理财 by ????菠菜理财\n",
      "removed 富智汇 by 财富智汇\n",
      "removed 智汇 by 财富智汇\n",
      "removed 智汇 by 富智汇\n",
      "removed 金德 by 金德微交易\n",
      "removed 金德 by 金德微\n",
      "removed 金德微 by 金德微交易\n",
      "removed 魔袋金融 by 上海魔袋金融\n",
      "removed 有融网 by 浙江有融网\n",
      "removed 金米米 by 金米米理财\n",
      "removed 汇金 by 汇金国际\n",
      "removed 靠谱 by 靠谱鸟\n",
      "removed 聚财猫 by 聚财猫冻\n",
      "removed 星理财 by 添上星理财\n",
      "removed 添上星 by 添上星理财\n",
      "removed 机智投 by 1234TV时机智投直播间\n",
      "removed 酷宝盒 by 天酷宝盒\n",
      "removed 易贷 by 众易贷\n",
      "removed 魔袋金融 by 上海魔袋金融\n",
      "removed 有融网 by 浙江有融网\n",
      "removed 小牛新财富 by 小牛新财富管理有限公司天津分公司\n",
      "removed 小牛投资 by 深圳市小牛投资管理有限公司\n",
      "removed 小牛资本 by 小牛资本集团\n",
      "removed 财猫 by 挖财猫\n",
      "removed 人人行 by 人人行公司\n",
      "removed 天合 by 天合联盟\n",
      "removed 子昂众盈 by 珠海子昂众盈投资管理有限公司\n",
      "removed 众盈 by 子昂众盈\n",
      "removed 众盈 by 珠海子昂众盈投资管理有限公司\n",
      "removed 凤凰 by 金凤凰\n",
      "removed 云动 by 中云动力\n",
      "removed 中云 by 中云动力\n",
      "removed 汇中 by 汇中保险\n",
      "removed 友信 by 友信贷款\n",
      "removed 融融 by 钱融融\n",
      "removed 融通汇信 by 融通汇信集团\n",
      "removed 恒信 by 恒信悦华\n",
      "removed 金财富 by 巨金财富\n",
      "removed 众投 by 众投在线\n",
      "removed 通金投资 by 上海通金投资\n",
      "removed 苏绿能宝融资租赁有限公司 by 江苏绿能宝融资租赁有限公司\n",
      "removed 有家 by 快有家\n",
      "removed 华夏 by 华夏信\n",
      "removed 钱保姆 by 钱保姆 ????\n",
      "removed 壹宝贷 by  壹宝贷\n",
      "removed 万盈金融 by 深圳万盈金融?????\n",
      "removed 壹佰金融 by 深圳壹佰金融服务有限公司\n",
      "removed 泰金服 by 元泰金服\n",
      "removed 智投 by 财智投资\n",
      "removed 智投 by 智投资\n",
      "removed 智投资 by 财智投资\n",
      "removed 央金所 by  央金所\n",
      "removed 宜贷 by 宜贷网\n",
      "removed 大通金融 by 大通金融集团\n",
      "removed 永利宝 by 上海永利宝火理财\n",
      "removed 火理财 by 上海永利宝火理财\n",
      "removed 永利宝 by 上海永利宝火理财\n",
      "removed 火理财 by 上海永利宝火理财\n",
      "removed 智付 by 智付集团\n",
      "removed 普益金服 by 上海普益金服\n",
      "removed 益金服 by 普益金服\n",
      "removed 益金服 by 上海普益金服\n",
      "removed 信财富 by 储信财富\n",
      "removed 储信 by 储信财富\n",
      "removed 金投 by 微金投\n",
      "removed 有家 by 快有家\n",
      "removed 宝多多 by 宝多多投资管理有限公司网\n",
      "removed 多多投资 by 宝多多投资管理有限公司网\n",
      "removed 文交所 by 南京文交所\n",
      "removed 河南睿信 by 河南睿信网络科技有限公司\n",
      "removed 京东 by 京东商城\n",
      "removed 荷包金融 by 深圳荷包金融平台\n",
      "removed 联金所 by 联金所康\n",
      "removed 前沿财富 by  前沿财富\n",
      "removed 汇通 by 鼎亨汇通\n",
      "removed 上海银天下 by 银科控股上海银天下\n",
      "removed 郁泰投资 by 上海郁泰投资\n",
      "removed 饿了么 by 饿了么未来餐厅\n",
      "removed 益金服 by 普益金服\n",
      "removed 安邦保险集团 by ????安邦保险集团\n",
      "removed e租宝 by 的e租宝\n",
      "removed 小僧 by 唐小僧\n",
      "removed 绿能宝 by 江苏绿能宝融融资租赁有限公司\n",
      "removed 乐投 by 乐投财富\n",
      "removed 中安信 by 中安信业\n",
      "removed 智投 by 财智投资\n",
      "removed 智投 by 智投资\n",
      "removed 智投资 by 财智投资\n",
      "removed 财佰通 by 财佰通科技有限公司\n",
      "removed 百度金融 by 百度金融有钱花\n",
      "removed 融金汇 by 银天下天津融金汇银上海分公司\n",
      "removed 小额贷 by 广州市华易小额贷款股份有限公司\n",
      "removed 华夏信财 by 上海互金机构华夏信财\n",
      "removed 富源集团 by 富源集团非法\n",
      "removed 乐投财富 by 乐投财富投资管理公司\n",
      "removed 乐投 by 乐投财富\n",
      "removed 乐投 by 乐投财富投资管理公司\n",
      "removed 翼支付 by 国美翼支付\n",
      "removed 酷宝盒 by 南京天雄酷宝盒投资公司\n",
      "removed 融乐 by 信融乐\n",
      "removed 荷包金融 by 深圳荷包金融信息投资有限公司\n",
      "removed 天格 by 蓝天格锐\n",
      "removed 蛙宝 by 蛙宝网\n",
      "removed 念钱安 by 念钱安理财\n",
      "removed 易财行 by 易财行财富\n",
      "removed 泰金服 by 元泰金服\n",
      "removed 众投 by 赢众投\n",
      "removed 融宝 by 融宝贷\n",
      "removed 鑫金服 by 玉鑫金服\n",
      "removed 魔袋金融 by 上海魔袋金融\n",
      "removed 有融网 by 浙江有融网\n",
      "removed 优信贷 by 优信贷款\n",
      "removed 金财富 by 添金财富联盟\n",
      "removed 储信 by 储信理财\n",
      "removed 信和财富 by 信和财富网\n",
      "removed 车易贷 by 货车易贷\n",
      "removed 能贷 by 车能贷\n",
      "removed 钱内助 by 钱内助金融信息服务有限公司\n",
      "removed 天合 by 天合联盟\n",
      "removed 浙商 by 浙商银行\n",
      "removed 邑民金融 by 邑民金融平台\n",
      "removed 创客 by 凡人创客\n",
      "removed 微贷 by 微贷网\n",
      "removed 头理财 by 石头理财\n",
      "removed 九牛国际 by 九牛国际集团股份有限公司\n",
      "removed 九牛 by 九牛国际\n",
      "removed 九牛 by 九牛集团\n",
      "removed 九牛 by 九牛国际集团股份有限公司\n",
      "removed 来贷 by 车来贷\n",
      "removed 意隆财富 by 上海意隆财富\n",
      "removed 信和 by 信和财富\n",
      "removed 易融恒信 by 武汉易融恒信\n",
      "removed 融网 by 玖融网\n",
      "removed 祺天优贷 by 佑祺天优贷\n",
      "removed 有家 by 快有家\n",
      "removed 金投 by 微金投\n",
      "removed 惠盈理财 by 惠盈理财和中青网投\n",
      "removed 中青网投 by 惠盈理财和中青网投\n",
      "removed 云财富 by 云云财富\n",
      "removed 信和财富 by 信和财富绍兴分公司\n",
      "removed 汇阜信息 by 上海汇阜信息技术有限公司\n",
      "removed 多米 by 泰多米\n",
      "removed 海星 by 海星宝理财\n",
      "removed 中金 by 中金贷\n",
      "removed 钱盆网 by ????钱盆网是\n",
      "removed 人人爱家 by 人人爱家（孔明金融）\n",
      "removed 汇能金融 by 前海汇能金融控股集团\n",
      "removed 泰金服 by 元泰金服\n",
      "removed 爱本地 by 爱本地金服\n",
      "removed 甜菜金融 by ????甜菜金融\n",
      "removed 金财富 by 巨金财富\n",
      "removed 海华 by 上海华通铂银交易市场\n",
      "removed 小牛资本 by 小牛资本集团\n",
      "removed 华赢凯来 by 北京华赢凯来资产管理有限公司\n",
      "removed 中金 by 中金金融\n",
      "removed 江苏绿能宝融资租赁有限公司 by 江苏绿能宝融资租赁有限公司（SPI全资子公司）\n",
      "removed 咸鱼 by 咸鱼理财\n",
      "removed 金信网 by ????信和金信网\n",
      "removed 微贷 by 微贷网\n",
      "removed 魔袋金融 by 上海魔袋金融\n",
      "removed 高通盛融 by 高通盛融（北京）投资基金管理有限公司\n",
      "removed 高通盛融 by 高通盛融财富投资集团有限公司\n",
      "removed 昌龙运通 by 昌龙运通(北京)股权投资基金管理有限公司\n",
      "removed 人人聚财 by 苏州人人聚财非融资性担保有限公司\n",
      "removed 金盾 by 厚福金盾\n",
      "removed 乐贷 by 乐贷网\n",
      "removed 联宝 by 江苏联宝订单信息科技发展有限公司\n",
      "removed 有家 by 快有家\n",
      "removed 国盈投资 by 中润国盈投资(集团)\n",
      "removed 泰金服 by 元泰金服\n",
      "removed 鼎财富 by 问鼎财富\n",
      "removed 环球 by 环球捕手\n",
      "removed 小额贷款有限公司 by 广州平安好贷小额贷款有限公司\n",
      "removed 平安好贷 by 广州平安好贷小额贷款有限公司\n",
      "removed 天储 by 天储投资\n",
      "removed 融乐 by 信融乐\n",
      "removed 金财富 by 添金财富联盟\n",
      "removed 恒泰实达 by 北京恒泰实达科技发展有限公司\n",
      "removed 乐投 by 乐投财富\n",
      "removed 达飞 by 达飞金融\n",
      "removed 魔袋金融 by 上海魔袋金融\n",
      "removed 麦子金服 by 麦子金服财富\n",
      "removed 挖财 by 挖财财米\n",
      "removed 有家 by 快有家\n",
      "removed 维信金科 by ????维信金科\n",
      "removed 我贷 by 你我贷\n",
      "removed 鑫圆共享 by 鑫圆共享经济\n",
      "removed 陆金所 by 平安普惠陆金所\n",
      "removed 平安普惠 by 平安普惠陆金所\n",
      "removed 金财富 by 添金财富联盟\n",
      "removed 来贷 by 车来贷\n",
      "removed 金信网 by 金信网 ?????\n",
      "removed 点滴身边 by 点滴身边网络技术（北京）有限公司\n",
      "removed 卡卡贷 by 上海维信卡卡贷\n",
      "removed 牛板金 by 杭州江干牛板金\n",
      "removed 融网 by 圈融网\n",
      "removed 中汇投资 by 中汇投资集团有限公司\n",
      "removed 信和财富 by 北京信和财富平台\n",
      "removed 合时代 by 合时代金融\n",
      "removed 益金服 by 普益金服\n",
      "removed 金储宝 by 杭州金储宝资产管理有限公司\n",
      "removed 牛板金 by 浙江佐助金融信息服务有限公司（牛板金平台）\n",
      "removed 挖财 by 挖财宝\n",
      "removed 财猫 by 招财猫理财\n",
      "removed 招财 by 招财猫理财\n",
      "removed 顺发投资 by 云南顺发投资管理有限公司\n",
      "removed 顺发 by 云南顺发投资管理有限公司\n",
      "removed 顺发 by 顺发投资\n",
      "removed 富智汇 by 财富智汇\n",
      "removed 智汇 by 财富智汇\n",
      "removed 智汇 by 富智汇\n",
      "removed 玖富普惠 by 玖富普惠理财\n",
      "removed 信创金融 by 中信创金融\n",
      "removed 陨石地带 by 北京陨石地带信息技术有限公司\n",
      "removed 富友支付 by 上海富友支付股份有限公司\n",
      "removed 易贷 by 车易贷\n",
      "removed 善心汇 by 深圳善心汇\n",
      "removed 善心汇 by 深圳市善心汇文化公司\n",
      "removed 同创 by 昆明同创公司\n",
      "removed 小额贷款有限公司 by 广州平安好贷小额贷款有限公司\n",
      "removed 平安好贷 by 广州平安好贷小额贷款有限公司\n",
      "removed 友盛投资 by 四川友盛投资有限责任公司\n",
      "removed 小牛新财富 by ????小牛新财富天津公司\n",
      "removed 小牛资本 by 小牛资本管理集团\n",
      "removed 银湖网 by 银湖网络科技有限公司\n",
      "removed 荷包金融 by ????荷包金融\n",
      "removed 云返汽车 by 广东云返汽车销售有限公司\n",
      "removed 云付通 by 云付通支付科技（深圳）有限公司\n",
      "removed 贝格富 by 海南贝格富科技有限公司\n",
      "removed 点滴聚 by 点滴聚财\n",
      "removed 魔房宝 by ?魔房宝\n",
      "removed 重庆东金 by 重庆东金策略\n",
      "removed 中盛投资 by 嘉峪关中盛投资有限责任公司\n",
      "removed 金盾 by 金盾股份\n",
      "removed 环球 by 环球金融\n",
      "removed 顺发 by 顺发投资\n",
      "removed 善林金融 by 广群金融善林金融\n",
      "removed 海华 by 上海华信\n",
      "removed 盾安 by 盾安集团\n",
      "removed 银票网 by 上海鸿翔银票网互联网金融信息服务有限公司\n",
      "removed 宜贷 by 宜贷网\n",
      "removed 捷财富 by 安捷财富\n",
      "removed 湖湘财富 by 湖湘贷（湖湘财富）\n",
      "removed 湖湘贷 by 湖湘贷（湖湘财富）\n",
      "removed 华赢凯来 by 北京华赢凯来资产管理有限公司\n",
      "removed 来贷 by 车来贷\n",
      "removed 玺鉴 by 玺鉴金融\n",
      "removed 鼎财富 by 问鼎财富\n",
      "removed 北京仁远融信资本 by 北京仁远融信资本管理有限公司\n",
      "removed 有家 by 快有家\n",
      "removed 理财通 by 腾讯理财通\n",
      "removed 能贷 by 车能贷\n",
      "removed 融网 by 艺融网\n",
      "removed 汇通 by 鼎亨汇通\n",
      "removed 易贷 by 68易贷\n",
      "removed 融融 by 钱融融\n",
      "removed 魔袋金融 by 上海魔袋金融\n",
      "removed 金银猫 by 金银猫公司\n",
      "removed 小牛资本 by ????小牛资本\n",
      "removed 助金 by 佐助金服\n",
      "removed 金诚财富 by 金诚财富集团\n",
      "removed 泰金服 by 元泰金服\n",
      "removed 泰金服 by 元泰金服\n",
      "removed 能贷 by 车能贷\n",
      "removed 美银 by 美银金融\n",
      "removed 鼎财富 by 问鼎财富\n",
      "removed 玖富万卡 by 玖富万卡套路贷 \n",
      "removed 泰金服 by 元泰金服\n",
      "removed 链家 by 链家理财\n",
      "removed 中融信 by 中融信担保\n",
      "removed 泛海控股 by 中国泛海控股集团有限公司\n",
      "removed 人人爱家金融 by 人人爱家金融官网\n",
      "removed 源金 by 源金所\n",
      "removed 人人爱 by 人人爱家\n",
      "removed 投之家 by 深圳投之家\n",
      "removed 合时代 by 合时代金融\n",
      "removed 海星 by 海星二元期权\n",
      "removed 温商贷 by 浙江温商贷\n",
      "removed 鼎财富 by 问鼎财富\n",
      "removed 团贷 by 团贷网\n",
      "removed 泰金服 by 元泰金服\n",
      "removed 想宝 by 理想宝\n",
      "removed 银坊金融 by 银坊金融网\n",
      "removed 万盈金融 by 深圳万盈金融\n",
      "removed 富智汇 by 财富智汇\n",
      "removed 富友支付 by 上海富友支付股份有限公司\n",
      "removed 我贷 by 你我贷\n",
      "removed 富宝 by 广富宝\n",
      "removed 易财行 by 易财行财富\n",
      "removed 玖富万卡 by 玖富万卡套路贷\n"
     ]
    }
   ],
   "source": [
    "rs_df['key_entity'] = rs_df['key_entity'].map(lambda x: trans_keys(trans_map,x)).map(remove_short_entity_by_long)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 182,
   "metadata": {},
   "outputs": [],
   "source": [
    "os.chdir('FinancialNagetiveEntityJudge')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 185,
   "metadata": {},
   "outputs": [],
   "source": [
    "rs_df.to_csv('round2/tmp/stack_on_twomodels_保留bothexisted.csv',index=False)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 202,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'我不喜欢hhhh**Y*q1111&,，学习……'"
      ]
     },
     "execution_count": 202,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import re\n",
    "pattern = re.compile(r'([^\\u2E80-\\u9FFF，。！？……/]+：（）【】*《》“”‘’)')\n",
    "pattern.sub(\" \",\"我不喜欢hhhh**Y*q1111&,，学习……\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.9"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
